mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
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]
(cherry picked from commit 14716e4619
)
This commit is contained in:
parent
b69ceaa2e8
commit
606ace0fbe
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -176,6 +176,7 @@ jobs:
|
|||||||
(echo 'SUBJECT=Nvim development (prerelease) build';
|
(echo 'SUBJECT=Nvim development (prerelease) build';
|
||||||
echo 'PRERELEASE=--prerelease') >> $GITHUB_ENV
|
echo 'PRERELEASE=--prerelease') >> $GITHUB_ENV
|
||||||
gh release delete nightly --yes || true
|
gh release delete nightly --yes || true
|
||||||
|
git push origin :nightly || true
|
||||||
- if: env.TAG_NAME != 'nightly'
|
- if: env.TAG_NAME != 'nightly'
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@ -183,6 +184,7 @@ jobs:
|
|||||||
(echo 'SUBJECT=Nvim release build';
|
(echo 'SUBJECT=Nvim release build';
|
||||||
echo 'PRERELEASE=') >> $GITHUB_ENV
|
echo 'PRERELEASE=') >> $GITHUB_ENV
|
||||||
gh release delete stable --yes || true
|
gh release delete stable --yes || true
|
||||||
|
git push origin :stable || true
|
||||||
# `sha256sum` outputs <sha> <path>, so we cd into each dir to drop the
|
# `sha256sum` outputs <sha> <path>, so we cd into each dir to drop the
|
||||||
# containing folder from the output.
|
# containing folder from the output.
|
||||||
- name: Generate Linux64 SHA256 checksums
|
- name: Generate Linux64 SHA256 checksums
|
||||||
|
Loading…
Reference in New Issue
Block a user