Skip to content

Commit b694589

Browse files
authored
Make sure we update branch alias after major version (#840)
* Make sure we update branch alias after major version * Update all workflows
1 parent 34d5269 commit b694589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/branch_alias.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
exit 1;
4646
fi
4747
48-
if [ ${CURRENT_ARR[1]} -gt ${NEW_ARR[1]} ]; then
48+
if [ ${CURRENT_ARR[0]} -eq ${NEW_ARR[0]} ] && [ ${CURRENT_ARR[1]} -gt ${NEW_ARR[1]} ]; then
4949
echo "The current value for minor version is larger"
5050
exit 1;
5151
fi

0 commit comments

Comments
 (0)