From 89656a6d4cb4a652966232f8f6874f9c90a71f59 Mon Sep 17 00:00:00 2001 From: Kuba Mazurek Date: Thu, 12 Aug 2021 12:28:26 +0200 Subject: [PATCH] Fix stable branch name regex in nightly workflow --- .github/workflows/goth-nightly.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/goth-nightly.yml b/.github/workflows/goth-nightly.yml index 1086fdfcd..adb8b593a 100644 --- a/.github/workflows/goth-nightly.yml +++ b/.github/workflows/goth-nightly.yml @@ -22,7 +22,7 @@ jobs: id: latest-stable # second sed expression removes leading whitespaces and '*' characters (git uses it to indicate the current branch) run: | - branch=$(git branch -a | sed -e 's:remotes/origin/::' -e 's:^[ \t*]*::' | grep -E '^release\/v[0-9]+(\.[0-9]+)+$' | sort -Vr | head -1) + branch=$(git branch -a | sed -e 's:remotes/origin/::' -e 's:^[ \t*]*::' | grep -E '^b[0-9]+(\.[0-9]+)+$' | sort -Vr | head -1) echo "::set-output name=branch::$branch" # prepares JSON object representing strategy matrix which contains two 'branch' variants: master and latest stable