Skip to content

Commit

Permalink
Publish binary directly in release page
Browse files Browse the repository at this point in the history
  • Loading branch information
s1061123 committed Feb 7, 2020
1 parent 1091c4b commit bd156c8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,14 @@ builds:
ldflags:
- -s -w -X "main.Version={{ .Version }}" -X "main.GitHash={{ .ShortCommit }}"
archives:
-
- id: bin
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
replacements:
#linux: Linux
#amd64: x86_64
386: i386
format: binary
- id: archives
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
replacements:
#linux: Linux
Expand Down

0 comments on commit bd156c8

Please sign in to comment.