ooni-probe-cli/.goreleaser.yml
2019-05-15 19:25:23 +02:00

34 lines
590 B
YAML

project_name: ooniprobe
release:
github:
owner: ooni
name: probe-cli
brew:
install: bin.install "ooniprobe"
builds:
- goos:
- darwin
goarch:
- amd64
main: cmd/ooni/main.go
binary: ooni
- goos:
- windows
goarch:
- amd64
env:
- CC=x86_64-w64-mingw32-gcc
- CXX=x86_64-w64-mingw32-g++
- CGO_ENABLED=1
main: cmd/ooni/main.go
binary: ooni
archive:
format: tar.gz
name_template: '{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{
.Arm }}{{ end }}'
files:
- LICENSE.*
- Readme.*
snapshot:
name_template: SNAPSHOT-{{ .Commit }}