Skip to content

Commit

Permalink
Merge pull request #11 from tomlazar/goreleaser
Browse files Browse the repository at this point in the history
add goreleaser to automate building new versions + support for windows
  • Loading branch information
brianstrauch authored Apr 30, 2021
2 parents f17cdc8 + eb3d605 commit a89933b
Show file tree
Hide file tree
Showing 5 changed files with 176 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
spotify

dist/
38 changes: 38 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
- go mod download

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

archives:
- replacements:
darwin: macos
linux: Linux
windows: Windows
amd64: x86_64
format: binary


checksum:
name_template: 'checksums.txt'

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

changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module spotify
go 1.16

require (
github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 // indirect
github.com/spf13/cobra v1.1.3
github.com/spf13/viper v1.7.1
github.com/stretchr/testify v1.7.0
Expand Down
Loading

0 comments on commit a89933b

Please sign in to comment.