Skip to content

Commit

Permalink
add goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
schollz committed Jan 17, 2019
1 parent 305da5e commit c6780a3
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions goreleaser.yml
@@ -0,0 +1,38 @@
project_name: spotifydownload
build:
main: main.go
binary: spotifydownload
ldflags: -s -w -X main.Version="v{{.Version}}-{{.Date}}"
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
goarm:
- 7
archive:
format: tar.gz
format_overrides:
- goos: windows
format: zip
name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}-{{.Arch}}"
replacements:
amd64: 64bit
386: 32bit
arm: ARM
arm64: ARM64
darwin: macOS
linux: Linux
windows: Windows
openbsd: OpenBSD
netbsd: NetBSD
freebsd: FreeBSD
dragonfly: DragonFlyBSD
files:
- README.md
release:
draft: true

0 comments on commit c6780a3

Please sign in to comment.