Re-add .goreleaser.yml
This commit is contained in:
parent
775a6454ee
commit
ee94fdb328
1 changed files with 58 additions and 0 deletions
58
.goreleaser.yml
Normal file
58
.goreleaser.yml
Normal file
|
@ -0,0 +1,58 @@
|
|||
env:
|
||||
- GO111MODULE=on
|
||||
|
||||
before:
|
||||
hooks:
|
||||
- go mod download
|
||||
|
||||
builds:
|
||||
- id: proxywoman-darwin-amd64
|
||||
ldflags: -X proxywoman_Version={{.Version}} -X proxywoman_BuildDate={{.Date}} -X proxywoman_CommitHash={{ .ShortCommit }}
|
||||
binary: proxywoman
|
||||
env:
|
||||
- CGO_ENABLED=1
|
||||
- CC=o64-clang
|
||||
- CXX=o64-clang++
|
||||
goos:
|
||||
- darwin
|
||||
goarch:
|
||||
- amd64
|
||||
- id: proxywoman-linux
|
||||
ldflags: -X proxywoman_Version={{.Version}} -X proxywoman_BuildDate={{.Date}} -X proxywoman_CommitHash={{ .ShortCommit }}
|
||||
binary: proxywoman
|
||||
env:
|
||||
- CGO_ENABLED=1
|
||||
goos:
|
||||
- linux
|
||||
- id: proxywoman-windows-amd64
|
||||
ldflags: -X proxywoman_Version={{.Version}} -X proxywoman_BuildDate={{.Date}} -X proxywoman_CommitHash={{ .ShortCommit }}
|
||||
binary: proxywoman
|
||||
env:
|
||||
- CGO_ENABLED=1
|
||||
- CC=x86_64-w64-mingw32-gcc
|
||||
- CXX=x86_64-w64-mingw32-g++
|
||||
goos:
|
||||
- windows
|
||||
goarch:
|
||||
- amd64
|
||||
|
||||
archives:
|
||||
- replacements:
|
||||
darwin: Darwin
|
||||
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:'
|
Loading…
Reference in a new issue