Skip to content

Commit

Permalink
Add goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
yangl900 committed Mar 19, 2018
1 parent ddbe971 commit 3aa2dd6
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# .goreleaser.yml
# Build customization
builds:
- main: .
binary: log2oms
goos:
- darwin
- linux
goarch:
- amd64
# Archive customization
archive:
format: tar.gz
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
replacements:
amd64: 64-bit
darwin: macOS
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
checksum:
name_template: "{{ .ProjectName }}_checksums.txt"

0 comments on commit 3aa2dd6

Please sign in to comment.