From 8df50fc060f2b333beeaae0d2e7ba2dab042bc72 Mon Sep 17 00:00:00 2001 From: Aleksei Zhukov Date: Tue, 1 Feb 2022 12:25:25 -0800 Subject: [PATCH] GoReleaser configuration --- .gitignore | 2 ++ .goreleaser.yaml | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 .goreleaser.yaml diff --git a/.gitignore b/.gitignore index 5444d11..fc2aabb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ .idea/ dist/ + +dist/ diff --git a/.goreleaser.yaml b/.goreleaser.yaml new file mode 100644 index 0000000..e516d7f --- /dev/null +++ b/.goreleaser.yaml @@ -0,0 +1,22 @@ +before: + hooks: + - go mod tidy +builds: + - env: + - CGO_ENABLED=0 + goos: + - linux + - windows + - darwin +archives: + - replacements: + darwin: Darwin + linux: Linux + windows: Windows + 386: i386 + amd64: x86_64 + format: zip +checksum: + name_template: 'checksums.txt' +snapshot: + name_template: "{{ incpatch .Version }}-next"