File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' v*'
7
+
8
+ permissions :
9
+ # needed to upload archives as Github Releases.
10
+ contents : write
11
+
12
+ jobs :
13
+ goreleaser :
14
+ runs-on : ubuntu-22.04
15
+ steps :
16
+ - name : Checkout
17
+ uses : actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
18
+ with :
19
+ fetch-depth : 0
20
+
21
+ - name : Fetch all tags
22
+ run : git fetch --force --tags
23
+
24
+ - name : Setup Go
25
+ uses : actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a # v3.2.1
26
+ with :
27
+ go-version : 1.19
28
+
29
+ - name : Run GoReleaser
30
+ uses : goreleaser/goreleaser-action@68acf3b1adf004ac9c2f0a4259e85c5f66e99bef # v3.0.0
31
+ with :
32
+ distribution : goreleaser
33
+ version : v1.10.3
34
+ args : release --rm-dist
35
+ env :
36
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -38,3 +38,6 @@ snapshot:
38
38
release :
39
39
github :
40
40
prerelease : auto
41
+
42
+ changelog :
43
+ use : github
You can’t perform that action at this time.
0 commit comments