From 89094fecf4cb1c018f15c976641cd18c255eac28 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sat, 23 Nov 2024 18:12:03 -0500 Subject: Semi-working POC --- .goreleaser.yaml | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .goreleaser.yaml (limited to '.goreleaser.yaml') diff --git a/.goreleaser.yaml b/.goreleaser.yaml new file mode 100644 index 0000000..4ae2895 --- /dev/null +++ b/.goreleaser.yaml @@ -0,0 +1,44 @@ +# This is an example .goreleaser.yml file with some sensible defaults. +# Make sure to check the documentation at https://goreleaser.com +version: 2 +before: + hooks: + - go mod tidy + +gomod: + proxy: true + +builds: + - env: ["CGO_ENABLED=0"] + mod_timestamp: "{{ .CommitTimestamp }}" + flags: ["-trimpath"] + targets: ["go_first_class"] + +changelog: + sort: asc + use: github + filters: + exclude: + - "^docs:" + - "^test:" + - "^chore" + - Merge pull request + - Merge remote-tracking branch + - Merge branch + - go mod tidy + groups: + - title: "New Features" + regexp: "^.*feat[(\\w)]*:+.*$" + order: 0 + - title: "Bug fixes" + regexp: "^.*fix[(\\w)]*:+.*$" + order: 10 + - title: Other work + order: 999 + +release: + footer: | + + --- + + _Released with [GoReleaser](https://goreleaser.com)!_ -- cgit v1.2.3