Skip to content

Commit

Permalink
add goreleaser.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
haya14busa committed Dec 2, 2019
1 parent 74c0b38 commit 75daf19
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Document: http://goreleaser.com
before:
hooks:
- go mod download

builds:
- env:
- CGO_ENABLED=0
main: .
ldflags: -s -w -X main.version={{.Version}}

archives:
- id: main
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
files:
- LICENSE
- README.md

brews:
- github:
owner: haya14busa
name: homebrew-tap
folder: Formula
homepage: https://github.com/haya14busa/bump
description: bump returns next semantic version tag.
test: |
system "#{bin}/bump -h"
checksum:
name_template: 'checksums.txt'

snapshot:
name_template: "{{ .Tag }}-next"

changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'

0 comments on commit 75daf19

Please sign in to comment.