From 872dfcfd2dc2efb1a17044b77d705a8c3e1bf4bd Mon Sep 17 00:00:00 2001 From: jamshale Date: Fri, 17 May 2024 09:12:25 -0700 Subject: [PATCH] Fix the release workflow upgrade check Signed-off-by: jamshale --- .github/workflows/create-release.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create-release.yaml b/.github/workflows/create-release.yaml index 11223b011..89e4f02d4 100644 --- a/.github/workflows/create-release.yaml +++ b/.github/workflows/create-release.yaml @@ -69,9 +69,10 @@ jobs: version=$(grep -oP '(?<=").*?(?=")' <<< "$lock_version") echo "Version = $version" echo "Global Version = $current_global_version" - if [[ $(sem_version $current_global_version) -ge $(sem_version $version) ]]; then + if [[ $(sem_version $current_global_version) -gt $(sem_version $version) ]]; then echo "Upgrade Detected for $plugin in file $file" found_upgrade=true + break fi fi done