File tree 2 files changed +9
-5
lines changed
2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -69,10 +69,10 @@ jobs:
69
69
go-version-file : ' .go-version'
70
70
71
71
- name : Run GoReleaser
72
- uses : goreleaser/goreleaser-action@336e29918d653399e599bfca99fadc1d7ffbc9f7 # v4.3 .0
72
+ uses : goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0 .0
73
73
with :
74
74
version : latest
75
- args : release --rm-dist --skip- publish --snapshot
75
+ args : release --clean --skip= publish --snapshot
76
76
77
77
- uses : actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
78
78
with :
Original file line number Diff line number Diff line change @@ -19,8 +19,12 @@ builds:
19
19
- -s -w -X github.com/hashicorp/copywrite/cmd.version={{.Version}} -X github.com/hashicorp/copywrite/cmd.commit={{.ShortCommit}}
20
20
binary : copywrite
21
21
archives :
22
- - replacements :
23
- amd64 : x86_64
22
+ - name_template : >-
23
+ {{- .ProjectName }}_
24
+ {{- title .Os }}_
25
+ {{- if eq .Arch "amd64" }}x86_64
26
+ {{- else }}{{ .Arch }}{{ end }}
27
+ {{- if .Arm }}v{{ .Arm }}{{ end -}}
24
28
format_overrides:
25
29
- goos: windows
26
30
format: zip
@@ -36,7 +40,7 @@ release:
36
40
# Auto-publish to the HashiCorp homebrew tap: https://github.com/hashicorp/homebrew-tap
37
41
brews :
38
42
- name : copywrite
39
- tap :
43
+ repository :
40
44
owner : hashicorp
41
45
name : homebrew-tap
42
46
commit_author :
You can’t perform that action at this time.
0 commit comments