From 606ace0fbeebcd0c16f636c0f782ba916f2c73ae Mon Sep 17 00:00:00 2001 From: James McCoy Date: Tue, 2 Nov 2021 07:25:22 -0400 Subject: [PATCH] ci(release): delete nightly/stable tag so release recreates it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Even though the releaes itself gets deleted, if the tag is not, then creating a new release just re-uses the same tag, even though we're using “--target ”. [skip ci] (cherry picked from commit 14716e46194993680900f367db5b364399167906) --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3c2291cc0c..9333449a6c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -176,6 +176,7 @@ jobs: (echo 'SUBJECT=Nvim development (prerelease) build'; echo 'PRERELEASE=--prerelease') >> $GITHUB_ENV gh release delete nightly --yes || true + git push origin :nightly || true - if: env.TAG_NAME != 'nightly' env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -183,6 +184,7 @@ jobs: (echo 'SUBJECT=Nvim release build'; echo 'PRERELEASE=') >> $GITHUB_ENV gh release delete stable --yes || true + git push origin :stable || true # `sha256sum` outputs , so we cd into each dir to drop the # containing folder from the output. - name: Generate Linux64 SHA256 checksums