Skip to content

Commit 4032bce

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 bd58938 commit 4032bce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/branch_alias.yml

Lines changed: 1 addition & 1 deletion
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)