Skip to content

Commit

Permalink
add .goreleaser.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
guptarohit committed Jun 21, 2020
1 parent f950697 commit c53c02c
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Build customization
builds:
- env:
- CGO_ENABLED=0
main: ./cmd/asciigraph/main.go
ldflags: '-s -w'
# GOOS list to build in.
# For more info refer to https://golang.org/doc/install/source#environment
goos:
- linux
- darwin
- windows
# GOARCH to build in.
# For more info refer to https://golang.org/doc/install/source#environment
goarch:
- 386
- amd64
- arm
- arm64
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_sha512-checksums.txt'
algorithm: sha512
# Archive customization
archives:
- id: tar
format: tar.gz
files:
- LICENSE
- README.rst
# Replacements for GOOS and GOARCH on the archive name.
replacements:
'386': i386
darwin: Darwin
linux: Linux
windows: Windows
amd64: x86_64
format_overrides:
- goos: windows
format: zip
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
release:
github:
owner: guptarohit
name: asciigraph

0 comments on commit c53c02c

Please sign in to comment.