From 1dae757ebf3b6784c55da66aac370ae2dff8bc3c Mon Sep 17 00:00:00 2001 From: donwa Date: Thu, 13 Feb 2020 16:15:57 +0800 Subject: [PATCH] Create .goreleaser.yml --- .goreleaser.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .goreleaser.yml diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..94e821f --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,34 @@ +env: + - GO111MODULE=on +before: + hooks: + - go mod download +builds: + - ldflags: -s -w + env: + - CGO_ENABLED=0 + goos: + - linux + - windows + - darwin + goarch: + - 386 + - amd64 + - arm + - arm64 +archives: + - + replacements: + darwin: Darwin + linux: Linux + windows: Windows + 386: i386 + amd64: x86_64 + format: gz + format_overrides: + - goos: windows + format: zip + files: + - none* +checksum: + name_template: "checksums.txt"