From 2516545a69e6a7bb000709267feb6ae731ddd34a Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Sat, 31 Oct 2020 20:34:25 +0100 Subject: [PATCH] Make sure we update branch alias after major version (#840) * Make sure we update branch alias after major version * Update all workflows --- .github/workflows/branch_alias.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/branch_alias.yml b/.github/workflows/branch_alias.yml index 42d18e8..4bdb61a 100644 --- a/.github/workflows/branch_alias.yml +++ b/.github/workflows/branch_alias.yml @@ -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