From d4b6de43293786636dc3fae85a498f1e22374216 Mon Sep 17 00:00:00 2001 From: HikariKnight <2557889+HikariKnight@users.noreply.github.com> Date: Wed, 12 Apr 2023 01:21:08 +0200 Subject: [PATCH] add goreleaser file --- cmd/.goreleaser.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 cmd/.goreleaser.yaml diff --git a/cmd/.goreleaser.yaml b/cmd/.goreleaser.yaml new file mode 100644 index 0000000..f2d4dbc --- /dev/null +++ b/cmd/.goreleaser.yaml @@ -0,0 +1,29 @@ +before: + hooks: + - go mod tidy +builds: + - env: + - CGO_ENABLED=0 + goos: + - linux + hooks: + post: + - upx "{{ .Path }}" +archives: + - replacements: + linux: Linux + amd64: x86_64 +checksum: + name_template: 'checksums.txt' +snapshot: + name_template: "{{ incpatch .Version }}-next" +changelog: + sort: asc + filters: + exclude: + - '^docs:' + - '^test:' + +# modelines, feel free to remove those if you don't want/use them: +# yaml-language-server: $schema=https://goreleaser.com/static/schema.json +# vim: set ts=2 sw=2 tw=0 fo=cnqoj