Skip to content

Commit

Permalink
add goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoBrigitte committed Nov 21, 2024
1 parent 48abc85 commit f5270af
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
version: 2

before:
hooks:
- go mod tidy

builds:
- skip: true

archives:
- format: tar.gz
# this name template makes the OS and Arch compatible with the results of `uname`.
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
# use zip for windows archives
format_overrides:
- goos: windows
format: zip

changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"

0 comments on commit f5270af

Please sign in to comment.