From c4977f0855f12b9f02fc8ca9faeda9e76a14f3ad Mon Sep 17 00:00:00 2001 From: Mehdi Hasan Date: Sat, 10 Aug 2019 19:24:37 +0600 Subject: [PATCH] Update release config --- .goreleaser.yml | 10 ++++++++-- release.sh | 2 ++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 95901c0..ff2b999 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -3,14 +3,20 @@ project_name: kill-mysql-query before: hooks: - # you may remove this if you don't use vgo - go mod download builds: - env: - CGO_ENABLED=0 + goos: + - darwin + - windows + - linux + ignore: + - goos: darwin + goarch: 386 archives: - replacements: - darwin: Darwin + darwin: macOS linux: Linux windows: Windows 386: i386 diff --git a/release.sh b/release.sh index 623fbcc..db19a43 100755 --- a/release.sh +++ b/release.sh @@ -6,5 +6,7 @@ export GOPROXY=https://gocenter.io # git tag -a v0.1.0 -m "First release" # git push origin v0.1.0 +# For dry run: +# goreleaser --snapshot --skip-publish --rm-dist goreleaser release --rm-dist \ No newline at end of file