diff options
author | James McCoy <jamessan@jamessan.com> | 2021-11-02 07:25:22 -0400 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2021-11-02 07:34:55 -0400 |
commit | 14716e46194993680900f367db5b364399167906 (patch) | |
tree | 4248b1008ed6690913d78f590ca648bf5c95ae95 | |
parent | 29cec32f44db358b0dfcd560d2ba8228b9d9de39 (diff) | |
download | rneovim-14716e46194993680900f367db5b364399167906.tar.gz rneovim-14716e46194993680900f367db5b364399167906.tar.bz2 rneovim-14716e46194993680900f367db5b364399167906.zip |
ci(release): delete nightly/stable tag so release recreates it
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 <sha>”.
[skip ci]
-rw-r--r-- | .github/workflows/release.yml | 2 |
1 files changed, 2 insertions, 0 deletions
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 <sha> <path>, so we cd into each dir to drop the # containing folder from the output. - name: Generate Linux64 SHA256 checksums |