File tree Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: goreleaser
3
3
on :
4
4
push :
5
5
tags :
6
- - ' * '
6
+ - " * "
7
7
8
8
permissions :
9
9
contents : write
@@ -12,22 +12,19 @@ jobs:
12
12
goreleaser :
13
13
runs-on : ubuntu-latest
14
14
steps :
15
- -
16
- name : Checkout
15
+ - name : Checkout
17
16
uses : actions/checkout@v2
18
17
with :
19
18
fetch-depth : 0
20
- -
21
- name : Set up Go
19
+ - name : Set up Go
22
20
uses : actions/setup-go@v2
23
21
with :
24
- go-version : 1.18
25
- -
26
- name : Run GoReleaser
22
+ go-version : 1.24.2
23
+ - name : Run GoReleaser
27
24
uses : goreleaser/goreleaser-action@v2
28
25
with :
29
26
distribution : goreleaser
30
- version : latest
27
+ version : v1.18.2
31
28
args : release --rm-dist
32
29
env :
33
30
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ archives:
26
26
- README.md
27
27
28
28
checksum :
29
- name_template : " {{ .ProjectName }}_{{ .Version }}_checksums.txt"
29
+ name_template : " {{ .ProjectName }}_v{{.Major}}.{{.Minor}}.{{.Patch }}_checksums.txt"
30
30
algorithm : sha256
31
31
32
32
snapshot :
You can’t perform that action at this time.
0 commit comments