6
0
mirror of https://github.com/grdl/git-get.git synced 2026-02-04 13:56:46 +00:00

Add goreleaser config

This commit is contained in:
Grzegorz Dlugoszewski
2020-05-30 13:52:52 +02:00
parent 3d18b664e9
commit d6f3a0a9d4
2 changed files with 31 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
dist/

30
.goreleaser.yml Normal file
View File

@@ -0,0 +1,30 @@
before:
hooks:
- go mod download
builds:
- main: ./cmd/git-get/main.go
binary: "git-get"
goos:
- linux
- darwin
- windows
archives:
- replacements:
darwin: macOS
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'