Skip to content

Commit

Permalink
Merge pull request #17 from mackerelio-labs/simple-namerule
Browse files Browse the repository at this point in the history
apply simple name rule
  • Loading branch information
kmuto committed Sep 23, 2023
2 parents fad6f0a + 2ef1045 commit bb42140
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,7 @@ builds:
archives:
- format: tar.gz
# this name template makes the OS and Arch compatible with the results of uname.
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
# use zip for windows archives
format_overrides:
- goos: windows
Expand Down

0 comments on commit bb42140

Please sign in to comment.