From 4e495f78c669e933c730f72458528635a85f22d0 Mon Sep 17 00:00:00 2001 From: Gadzhi Kharkharov Date: Mon, 13 Sep 2021 20:26:41 +0300 Subject: [PATCH] test: add goreleaser config --- .gitignore | 2 ++ .goreleaser.yml | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 .goreleaser.yml diff --git a/.gitignore b/.gitignore index fa2ba6b..8580e4d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ kks + +dist/ diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..044e7d5 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,21 @@ +before: + hooks: + - go mod tidy +builds: + - env: + - CGO_ENABLED=0 + goos: + - linux + - darwin +archives: + - format: binary +checksum: + disable: true +snapshot: + name_template: "{{ incpatch .Version }}-next" +changelog: + filters: + exclude: + - "^docs:" + - "^test:" + - "typo"