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 53f2b9d commit 9dda479Copy full SHA for 9dda479
1 file changed
.github/workflows/release.yml
@@ -0,0 +1,33 @@
1
+name: Release
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - 'v*'
7
8
+permissions:
9
+ contents: write
10
11
+jobs:
12
+ goreleaser:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: Checkout
16
+ uses: actions/checkout@v4
17
+ with:
18
+ fetch-depth: 0
19
20
+ - name: Set up Go
21
+ uses: actions/setup-go@v5
22
23
+ go-version: '1.22'
24
25
+ - name: Run GoReleaser
26
+ uses: goreleaser/goreleaser-action@v6
27
28
+ distribution: goreleaser
29
+ version: '~> v2'
30
+ args: release --clean
31
+ env:
32
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33
+ HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
0 commit comments