Skip to content

Commit

Permalink
build: Upgrade goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitpokhrel committed Jan 9, 2024
1 parent ddcd343 commit 8449ab0
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,9 @@ archives:
- id: nix
builds: [macOS, linux]
<<: &archive_defaults
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
name_template: >-
{{ .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 -}}
wrap_in_directory: true
replacements:
darwin: macOS
386: i386
amd64: x86_64
format: tar.gz
files:
- LICENSE
Expand All @@ -70,7 +67,7 @@ brews:
ids:
- nix

tap:
repository:
owner: ankitpokhrel
name: homebrew-jira-cli

Expand All @@ -94,7 +91,7 @@ brews:
commit_author:
name: ankitpokhrel
email: hello@ankit.pl
email: oss@ankit.pl

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

Expand Down

0 comments on commit 8449ab0

Please sign in to comment.