We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d01f7e2 commit 7416779Copy full SHA for 7416779
.github/workflows/releaser.yaml
@@ -50,10 +50,20 @@ jobs:
50
-
51
name: Run GoReleaser for snapshot
52
uses: goreleaser/goreleaser-action@v3
53
+ # only for PRs and push on branches
54
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
55
with:
56
version: latest
57
args: release --rm-dist --snapshot --skip-publish --skip-sign
58
+ -
59
+ name: Run GoReleaser
60
+ uses: goreleaser/goreleaser-action@v3
61
+ # only for tags
62
+ if: startsWith(github.ref, 'refs/tags/v')
63
+ with:
64
+ version: latest
65
+ args: release --rm-dist
66
+
67
env:
68
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
69
0 commit comments