From 0320c72d3ae06c082a84b1c310d0203eeff9e61e Mon Sep 17 00:00:00 2001 From: Naxdy Date: Tue, 26 Mar 2024 21:21:34 +0100 Subject: [PATCH] feat(ci): (re-)generate tag --- .forgejo/workflows/nightly-release.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.forgejo/workflows/nightly-release.yml b/.forgejo/workflows/nightly-release.yml index c0d98ff..0886441 100644 --- a/.forgejo/workflows/nightly-release.yml +++ b/.forgejo/workflows/nightly-release.yml @@ -35,6 +35,15 @@ jobs: run: | cd /nix/store attic push "${{ vars.BINARY_CACHE_NAME }}" $(ls /nix/store --ignore='*.drv' --ignore='*fake_nixpkgs*') + - name: (Re-)generate tag + run: | + git config --global user.email "noreply@naxdy.org" + git config --global user.name "Naxbot" + git fetch --tags + git tag -d nightly || true + git tag nightly -m "Nightly Release" + git checkout nightly + git push --set-upstream origin nightly --force - name: Publish nightly release uses: https://gitea.com/actions/gitea-release-action@v1.3.0 with: