Skip to content

Commit

Permalink
Add goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
iamd3vil committed May 28, 2020
1 parent 4b4c63a commit 1bffb95
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@
# Dependency directories (remove the comment below to include it)
# vendor/

shelf.bin
shelf.bin
dist
40 changes: 40 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
- go mod download
builds:
- env:
- CGO_ENABLED=0
goos:
- freebsd
- linux
- darwin
goarch:
- amd64
- arm
- arm64
goarm:
- 6
- 7
main: ./cmd/shelf/
archives:
- replacements:
darwin: Darwin
linux: Linux
freebsd: FreeBSD
386: i386
amd64: x86_64
arm: arm
arm64: arm64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'

0 comments on commit 1bffb95

Please sign in to comment.