Skip to content

Commit

Permalink
Tidying up goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
sethkor committed Apr 25, 2019
1 parent dcdfb41 commit 5d2f26a
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 4 deletions.
31 changes: 27 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,33 @@ builds:
- CGO_ENABLED=0
goos:
- darwin
- linux
goarch:
- amd64
archive:
replacements:
darwin: Darwin
# linux: Linux
- 386
- arm64
- arm
goarm:
- 6
- 7
ignore:
- goos: darwin
goarch: 386
- goos: darwin
goarch: arm64

archives:
-
replacements:
darwin: Darwin
linux: Linux

# 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'
snapshot:
Expand All @@ -28,6 +49,7 @@ changelog:
- '^docs:'
- '^test:'


brew:
# Name template of the recipe
# Default to project name
Expand Down Expand Up @@ -114,3 +136,4 @@ brew:
#install: |
# bin.install "program"
# ...

3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ linux:

clean:
rm lexbelt.linux lexbelt.linux.gz

publish-test:
goreleaser --snapshot --skip-publish --rm-dist

0 comments on commit 5d2f26a

Please sign in to comment.