From ca5791eac8559d2d9f347e4beaf3af0fc02ccea5 Mon Sep 17 00:00:00 2001 From: tutunak Date: Sun, 1 Feb 2026 10:14:59 +0100 Subject: [PATCH] fix releases --- .github/workflows/release.yaml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8cbdff3..c29c7d0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -80,7 +80,14 @@ jobs: else echo "skip=false" >> $GITHUB_OUTPUT fi - + - name: Create and push tag + if: steps.version.outputs.skip != 'true' + run: | + git config user.name "GitHub Actions" + git config user.email "actions@github.com" + git tag ${{ steps.version.outputs.version }} + git push origin ${{ steps.version.outputs.version }} + - name: Run GoReleaser if: steps.version.outputs.skip != 'true' uses: goreleaser/goreleaser-action@v6 @@ -92,10 +99,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GORELEASER_CURRENT_TAG: ${{ steps.version.outputs.version }} - - name: Create and push tag - if: steps.version.outputs.skip != 'true' - run: | - git config user.name "GitHub Actions" - git config user.email "actions@github.com" - git tag ${{ steps.version.outputs.version }} - git push origin ${{ steps.version.outputs.version }} +