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 01cd502 commit 5e5f420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/create-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
echo "File = $file"
echo "Version = $version"
echo "Global Version = $current_global_version"
if [[ $(sem_version $current_global_version) -ge $(sem_version $version) ]]; then
if [[! -n "$vresion"]] && [[ $(sem_version $current_global_version) -ge $(sem_version $version) ]]; then
echo "Upgrade Detected in $file"
found_upgrade=true
break
Expand Down

0 comments on commit 5e5f420

Please sign in to comment.