Skip to content

Commit

Permalink
Updated goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
ziflex committed Oct 17, 2018
1 parent acd5fcc commit 25fd93d
Showing 1 changed file with 25 additions and 3 deletions.
28 changes: 25 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,44 @@
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
- make
hooks:
- make

builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- 386
- amd64
- arm
- arm64

archive:
name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64

# Can be used to change the archive formats for specific GOOSs.
# Most common use case is to archive as zip on Windows.
# Default is empty.
format_overrides:
- goos: windows
format: zip

checksum:
name_template: 'checksums.txt'
name_template: '{{ .ProjectName }}_checksums.txt'

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

changelog:
sort: asc
filters:
Expand Down

0 comments on commit 25fd93d

Please sign in to comment.