From 21677a3de3faad45daa9f64150b2d3b2bf585cf8 Mon Sep 17 00:00:00 2001 From: Connor Gibson Date: Wed, 24 Nov 2021 14:50:51 -0800 Subject: [PATCH 1/3] Remove env ALLOW_TAG_PREFIX from build.yml Option was deprecated in git-release v4.0.0. No replacement is needed b/c msm's version tags do not have a static prefix before the version number. (i.e. tag name is "0.9.10", not "version-0.9.10") --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3416f1d..1ad64cf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,6 @@ jobs: PRE_RELEASE: "false" CHANGELOG_FILE: "none" ALLOW_EMPTY_CHANGELOG: "false" - ALLOW_TAG_PREFIX: "true" with: args: | - build/*-amd64.zip \ No newline at end of file + build/*-amd64.zip From 75bd4249327576a96349a13c953bb74b78f90231 Mon Sep 17 00:00:00 2001 From: Connor Gibson Date: Wed, 24 Nov 2021 14:52:30 -0800 Subject: [PATCH 2/3] Pin git-release workflow to version 4.x.x Done to prevent future issues due to major updates to git-release --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1ad64cf..5e40019 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ jobs: steps: - uses: actions/checkout@master - name: Release - uses: docker://antonyurchenko/git-release:latest + uses: docker://antonyurchenko/git-release:v4 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} DRAFT_RELEASE: "false" From 471929a6584a4e098788ef1cf981dc21481fdde1 Mon Sep 17 00:00:00 2001 From: Connor Gibson Date: Wed, 24 Nov 2021 15:12:35 -0800 Subject: [PATCH 3/3] Remove workflow trigger for any push to master branch --- .github/workflows/build.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5e40019..6d6bdfa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,8 +1,6 @@ name: Create Release on: push: - branches: - - master tags: - '[0-9]+.[0-9]+.[0-9]+' jobs: