Skip to content

Commit

Permalink
Add goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Brophy committed Nov 8, 2017
1 parent 7b576dc commit 05c06da
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
project_name: blast
release:
github:
owner: dave
name: blast
name_template: '{{.Tag}}'
brew:
github:
owner: dave
name: tap
commit_author:
name: "Dave Brophy"
email: [email protected]
install: bin.install "blast"
builds:
- goos:
- linux
- darwin
- windows
goarch:
- "amd64"
- "386"
goarm:
- "6"
main: .
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
binary: blast
archive:
format: tar.gz
name_template: '{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{
.Arm }}{{ end }}'
snapshot:
name_template: SNAPSHOT-{{ .Commit }}
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'

0 comments on commit 05c06da

Please sign in to comment.