summaryrefslogtreecommitdiff
path: root/.goreleaser.yaml
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-11-23 18:12:03 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2024-11-23 18:12:03 -0500
commit89094fecf4cb1c018f15c976641cd18c255eac28 (patch)
tree9f6e32c38013bc526399ab324891e0b3269e50dc /.goreleaser.yaml
Semi-working POC
Diffstat (limited to '.goreleaser.yaml')
-rw-r--r--.goreleaser.yaml44
1 files changed, 44 insertions, 0 deletions
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)!_