Skip to content

Commit

Permalink
Update goreleaser config
Browse files Browse the repository at this point in the history
Signed-off-by: Nicko Guyer <[email protected]>
  • Loading branch information
nguyer committed Jul 5, 2023
1 parent 6246b18 commit 6b580ec
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,23 @@ builds:
ldflags:
- "-s -w -X 'github.com/hyperledger/firefly-cli/cmd.BuildVersionOverride={{.Version}}' -X 'github.com/hyperledger/firefly-cli/cmd.BuildDate={{.Date}}' -X 'github.com/hyperledger/firefly-cli/cmd.BuildCommit={{.Commit}}'"
archives:
- replacements:
darwin: macOS
linux: Linux
amd64: x86_64
- name_template: >-
{{ .ProjectName }}_
{{- if eq .Os "darwin" }}macOS
{{- else if eq .Arch "linux" }}Linux
{{- else }}{{ .Os }}{{ end }}
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
checksum:
name_template: 'checksums.txt'
name_template: "checksums.txt"
snapshot:
name_template: "{{ incpatch .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- "^docs:"
- "^test:"
release:
prerelease: auto
prerelease: auto

0 comments on commit 6b580ec

Please sign in to comment.