File tree Expand file tree Collapse file tree 2 files changed +2
-15
lines changed Expand file tree Collapse file tree 2 files changed +2
-15
lines changed Original file line number Diff line number Diff line change 28
28
- name : Build
29
29
run : go build -v .
30
30
31
- - name : Run goreleaser in snapshot mode
32
- if : success() && ! startsWith(github.ref, 'refs/tags/v')
33
- uses : goreleaser/goreleaser-action@v4
34
- with :
35
- version : latest
36
- args : release --rm-dist --snapshot
37
-
38
- - name : Upload assets for snapshots
39
- if : success() && ! startsWith(github.ref, 'refs/tags/v')
40
- uses : actions/upload-artifact@v3
41
- with :
42
- name : support-collector
43
- path : dist/*
44
-
45
31
- name : Run goreleaser in release mode
46
32
if : success() && startsWith(github.ref, 'refs/tags/v')
47
33
uses : goreleaser/goreleaser-action@v4
Original file line number Diff line number Diff line change @@ -23,10 +23,11 @@ release:
23
23
archives :
24
24
- format : binary
25
25
name_template : >-
26
- {{- if eq .Arch "amd64" }}x86_64 {{ end }}
26
+ {{ .ProjectName }}_ {{ .Tag }}_
27
27
{{- if eq .Os "linux" }}Linux{{ end }}
28
28
{{- if eq .Os "windows" }}Windows{{ end }}
29
29
{{- if eq .Os "darwin" }}Darwin{{ end }}
30
+ {{- if eq .Arch "amd64" }}_x86_64{{ end }}
30
31
checksum :
31
32
name_template : ' checksums.txt'
32
33
snapshot :
You can’t perform that action at this time.
0 commit comments