Skip to content

Commit 8449ab0

Browse files
committed
build: Upgrade goreleaser
1 parent ddcd343 commit 8449ab0

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.goreleaser.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,9 @@ archives:
3939
- id: nix
4040
builds: [macOS, linux]
4141
<<: &archive_defaults
42-
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
42+
name_template: >-
43+
{{ .ProjectName }}_{{ .Version }}_{{- if eq .Os "darwin" }}macOS{{- else }}{{ .Os }}{{- end }}_{{- if eq .Arch "amd64" }}x86_64{{- else if eq .Arch "386" }}i386{{- else }}{{ .Arch }}{{- end }}{{- if .Arm }}v{{ .Arm }}{{ end -}}
4344
wrap_in_directory: true
44-
replacements:
45-
darwin: macOS
46-
386: i386
47-
amd64: x86_64
4845
format: tar.gz
4946
files:
5047
- LICENSE
@@ -70,7 +67,7 @@ brews:
7067
ids:
7168
- nix
7269

73-
tap:
70+
repository:
7471
owner: ankitpokhrel
7572
name: homebrew-jira-cli
7673

@@ -94,7 +91,7 @@ brews:
9491
9592
commit_author:
9693
name: ankitpokhrel
97-
email: hello@ankit.pl
94+
email: oss@ankit.pl
9895

9996
commit_msg_template: "Formula update for version {{ .Tag }}"
10097

0 commit comments

Comments
 (0)