Skip to content

Commit

Permalink
Add goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
brumhard committed May 5, 2023
1 parent 8ecf419 commit 82d7afa
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@

# used for tests
*.tar
reinlinsen-test*
reinlinsen-test*
dist/
36 changes: 36 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
project_name: rl
snapshot:
name_template: "{{ incpatch .Version }}-next"
builds:
- skip: true
checksum:
name_template: "{{ .ProjectName }}_checksums.txt"
extra_files:
- glob: out/bin/*
signs:
- artifacts: checksum
release:
mode: replace
footer: |
{{- with .PreviousTag }}**Full Changelog**: https://github.com/brumhard/reinlinsen/compare/{{ . }}...{{ .Tag }}{{end}}
extra_files:
- glob: out/bin/*
changelog:
sort: asc
use: github
groups:
- title: New Features and updates
regexp: "^.*feat[(\\w)]*:+.*$"
order: 0
- title: Bug fixes
regexp: "^.*fix[(\\w)]*:+.*$"
order: 10
- title: Documentation updates
regexp: "^.*docs[(\\w)]*:+.*$"
order: 20
- title: Other Work
order: 999
filters:
exclude:
- "^refactor:"
- "^chore"

0 comments on commit 82d7afa

Please sign in to comment.