diff --git a/.gitea/workflows/build-script.yaml b/.gitea/workflows/build-script.yaml index 1614333..2c91d48 100644 --- a/.gitea/workflows/build-script.yaml +++ b/.gitea/workflows/build-script.yaml @@ -56,9 +56,13 @@ jobs: tag_name: "latest" files: build/*.pdf - - name: Move Git Tag + - name: Remove old 'latest' tag and push new one continue-on-error: true - run: git tag -d latest && git push origin :refs/tags/latest && git tag latest HEAD && git push origin latest + run: git tag -d latest && git push origin :refs/tags/latest + + - name: Create 'latest' tag and push it + continue-on-error: true + run: git tag latest HEAD && git push origin latest - name: Trigger continue-on-error: true