90 lines
1.8 KiB
YAML
90 lines
1.8 KiB
YAML
project_name: postwoman-proxy
|
|
release:
|
|
github:
|
|
owner: postwoman-io
|
|
name: postwoman-proxy
|
|
name_template: Postwoman Proxy v{{.Version}}
|
|
scoop:
|
|
name: postwoman-proxy
|
|
commit_author:
|
|
name: goreleaserbot
|
|
email: goreleaser@carlosbecker.com
|
|
commit_msg_template: Scoop update for {{ .ProjectName }} version {{ .Tag }}
|
|
builds:
|
|
- id: postwoman-proxy
|
|
goos:
|
|
- darwin
|
|
- linux
|
|
- windows
|
|
goarch:
|
|
- amd64
|
|
- "386"
|
|
goarm:
|
|
- "6"
|
|
targets:
|
|
- darwin_amd64
|
|
- linux_amd64
|
|
- linux_386
|
|
- windows_amd64
|
|
- windows_386
|
|
ignore:
|
|
- goos: darwin
|
|
goarch: "386"
|
|
goarm: ""
|
|
gomips: ""
|
|
dir: .
|
|
main: .
|
|
ldflags:
|
|
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser
|
|
binary: postwoman-proxy
|
|
env:
|
|
- CGO_ENABLED=1
|
|
- GO111MODULE=on
|
|
lang: go
|
|
archives:
|
|
- id: default
|
|
builds:
|
|
- postwoman-proxy
|
|
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}'
|
|
replacements:
|
|
"386": i386
|
|
amd64: x86_64
|
|
darwin: Darwin
|
|
linux: Linux
|
|
windows: Windows
|
|
format: tar.gz
|
|
files:
|
|
- licence*
|
|
- LICENCE*
|
|
- license*
|
|
- LICENSE*
|
|
- readme*
|
|
- README*
|
|
- changelog*
|
|
- CHANGELOG*
|
|
snapshot:
|
|
name_template: '{{ .Tag }}-next'
|
|
checksum:
|
|
name_template: checksums.txt
|
|
algorithm: sha256
|
|
changelog:
|
|
filters:
|
|
exclude:
|
|
- '^docs:'
|
|
- '^test:'
|
|
sort: asc
|
|
dist: dist
|
|
env_files:
|
|
github_token: ~/.config/goreleaser/github_token
|
|
gitlab_token: ~/.config/goreleaser/gitlab_token
|
|
gitea_token: ~/.config/goreleaser/gitea_token
|
|
before:
|
|
hooks:
|
|
- go mod download
|
|
source:
|
|
name_template: '{{ .ProjectName }}-{{ .Version }}'
|
|
format: tar.gz
|
|
github_urls:
|
|
download: https://github.com
|
|
gitlab_urls:
|
|
download: https://gitlab.com
|