Skip to content

Commit

Permalink
Fix the release workflow upgrade check
Browse files Browse the repository at this point in the history
Signed-off-by: jamshale <[email protected]>
  • Loading branch information
jamshale committed May 17, 2024
1 parent 03109c3 commit 872dfcf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/create-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 872dfcf

Please sign in to comment.