:: commit de87ced0b587f6bcb5ef5b4769d1fa44d78cb7af

mintsuki <mintsuki@protonmail.com> — 2021-03-29 16:49

parents: 0f0dddf75e

gh: Do not base binary branch names off minor release names

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 168f40bd..a29d262a 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -20,7 +20,7 @@ jobs:
         run: echo "TAG_NAME=$(git describe --exact-match --tags $(git log -n1 --pretty='%h'))" >> $GITHUB_ENV
 
       - name: Get branch name
-        run: echo "BRANCH_NAME=$(echo "$TAG_NAME" | grep -o 'v[0-9]\+\.[0-9]\+')-branch" >> $GITHUB_ENV
+        run: echo "BRANCH_NAME=$(echo "$TAG_NAME" | grep -o 'v[0-9]\+\.')0-branch" >> $GITHUB_ENV
 
       - name: Install dependencies
         run: sudo apt-get update && sudo apt-get install git build-essential nasm gcc-mingw-w64 gcc-multilib wget mtools -y
tab: 248 wrap: offon