Skip to content

Commit

Permalink
Make sure we update branch alias after major version (#840)
Browse files Browse the repository at this point in the history
* Make sure we update branch alias after major version

* Update all workflows
  • Loading branch information
Nyholm authored Oct 31, 2020
1 parent 15fba20 commit 2516545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/branch_alias.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
exit 1;
fi
if [ ${CURRENT_ARR[1]} -gt ${NEW_ARR[1]} ]; then
if [ ${CURRENT_ARR[0]} -eq ${NEW_ARR[0]} ] && [ ${CURRENT_ARR[1]} -gt ${NEW_ARR[1]} ]; then
echo "The current value for minor version is larger"
exit 1;
fi
Expand Down

0 comments on commit 2516545

Please sign in to comment.