Automatically update nightly-build tag every nightly release (#4374)

This is done by CI force pushing the `nightly-build` tag - the `nightly-build` tag should never be relied on other than for GitHub releases.
This commit is contained in:
Wissididom
2023-02-13 20:11:48 +01:00
committed by GitHub
parent 56adaf81ac
commit df9836f59e
2 changed files with 10 additions and 1 deletions
+9
View File
@@ -311,6 +311,9 @@ jobs:
if: (github.event_name == 'push' && github.ref == 'refs/heads/master')
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # allows for tags access
- uses: actions/download-artifact@v3
with:
name: chatterino-windows-x86-64-5.15.2.zip
@@ -352,3 +355,9 @@ jobs:
prerelease: true
name: Nightly Release
tag: nightly-build
- name: Update nightly-build tag
run: |
git tag -f nightly-build
git push -f origin nightly-build
shell: bash