From ee94fdb32830af425861598357f278a257292ec8 Mon Sep 17 00:00:00 2001 From: NBTX Date: Mon, 8 Jun 2020 20:17:36 +0100 Subject: [PATCH] Re-add .goreleaser.yml --- .goreleaser.yml | 58 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 .goreleaser.yml diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..fe422ac --- /dev/null +++ b/.goreleaser.yml @@ -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:'