feat: initial commit
This commit is contained in:
27
.goreleaser.yaml
Normal file
27
.goreleaser.yaml
Normal file
@ -0,0 +1,27 @@
|
||||
version: 2
|
||||
|
||||
before:
|
||||
hooks:
|
||||
- go mod tidy
|
||||
|
||||
builds:
|
||||
- targets: [go_first_class]
|
||||
mod_timestamp: "{{ .CommitTimestamp }}"
|
||||
dir: ./cmd/kouiz
|
||||
flags:
|
||||
- -trimpath
|
||||
ldflags:
|
||||
- -w -s -X 'forge.cadoles.com/wpetit/kouiz/internal/build.ShortVersion={{ .Version }}' -X 'forge.cadoles.com/wpetit/kouiz/internal/build.LongVersion={{ .Version }}'
|
||||
checksum:
|
||||
name_template: "checksums.txt"
|
||||
snapshot:
|
||||
name_template: "{{ incpatch .Version }}-next"
|
||||
changelog:
|
||||
sort: asc
|
||||
filters:
|
||||
exclude:
|
||||
- "^docs:"
|
||||
- "^test:"
|
||||
|
||||
release:
|
||||
name_template: "v{{ .Version }}"
|
Reference in New Issue
Block a user