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 50e340f commit 9e1885bCopy full SHA for 9e1885b
.github/workflows/release.yml
@@ -0,0 +1,33 @@
1
+name: releasing
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
8
+jobs:
9
+ goreleaser:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
13
+ - name: Check out the source code
14
+ uses: actions/checkout@v4
15
+ with:
16
+ fetch-depth: 0 # Avoid running against a shallow clone
17
18
+ - name: Force fetch upstream tags
19
+ run: git fetch --force --tags
20
21
+ - name: Set up Go 1.22
22
+ uses: actions/setup-go@v5
23
24
+ go-version: 1.22
25
+ check-latest: true
26
27
+ - name: Release
28
+ uses: goreleaser/goreleaser-action@v5
29
30
+ version: latest
31
+ args: release --clean
32
+ env:
33
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments