summaryrefslogtreecommitdiff
path: root/.goreleaser.yaml
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-11-24 05:28:15 -0500
committerGitHub <noreply@github.com>2024-11-24 05:28:15 -0500
commit77ffa731150eeca79656b86daaf955d97bad080f (patch)
tree5c66e8c124ea009e8b05732f27f2421e23fc4009 /.goreleaser.yaml
parentb9f96f1a6868802f675a819118ae823eaaf8b0d6 (diff)
feat: implement gorealeaser for CI/CD (#3)
* Attemp at using goreleaser * Fix syntax error in .goreleaser.yml
Diffstat (limited to '.goreleaser.yaml')
-rw-r--r--.goreleaser.yaml34
1 files changed, 14 insertions, 20 deletions
diff --git a/.goreleaser.yaml b/.goreleaser.yaml
index 4ae2895..85d86b5 100644
--- a/.goreleaser.yaml
+++ b/.goreleaser.yaml
@@ -1,44 +1,38 @@
+---
# 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
-
+ hooks: [go mod tidy]
gomod:
proxy: true
-
builds:
- - env: ["CGO_ENABLED=0"]
- mod_timestamp: "{{ .CommitTimestamp }}"
- flags: ["-trimpath"]
- targets: ["go_first_class"]
-
+ - env: [CGO_ENABLED=0]
+ mod_timestamp: '{{ .CommitTimestamp }}'
+ flags: [-trimpath]
+ targets: [go_first_class]
changelog:
sort: asc
use: github
filters:
exclude:
- - "^docs:"
- - "^test:"
- - "^chore"
+ - '^docs:'
+ - '^test:'
+ - ^chore
- Merge pull request
- Merge remote-tracking branch
- Merge branch
- go mod tidy
groups:
- - title: "New Features"
- regexp: "^.*feat[(\\w)]*:+.*$"
+ - title: New Features
+ regexp: ^.*feat[(\w)]*:+.*$
order: 0
- - title: "Bug fixes"
- regexp: "^.*fix[(\\w)]*:+.*$"
+ - title: Bug fixes
+ regexp: ^.*fix[(\w)]*:+.*$
order: 10
- title: Other work
order: 999
-
release:
- footer: |
-
+ footer: |-
---
-
_Released with [GoReleaser](https://goreleaser.com)!_