Skip to content

Commit

Permalink
ci: add goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
cterence committed Sep 29, 2023
1 parent bd6c545 commit c7b6207
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
- PACKAGE=github.com/padok-team/guacamole
ldflags:
- -X ${PACKAGE}/internal/version.Version=${VERSION}
- -X ${PACKAGE}/internal/version.CommitHash=${COMMIT_HASH}
- -X ${PACKAGE}/internal/version.BuildTimestamp=${BUILD_TIMESTAMP}
goos:
- linux
main: ./
binary: guacamole
archives:
- format_overrides:
- goos: windows
format: zip
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
use: github
groups:
- title: Features
regexp: "^.*(feat:|feat\\/|feat(\\([^\\)]*\\)):).*"
order: 0
- title: "Bug fixes"
regexp: "^.*(fix:|fix\\/|fix(\\([^\\)]*\\)):).*"
order: 1
- title: Others
order: 999
filters:
exclude:
- "^docs"
- "^test"
- "^style"
- "^refactor"
- "^build"
- "^ci"
- "^chore(release)"

0 comments on commit c7b6207

Please sign in to comment.