Skip to content

Commit

Permalink
Add goreleaser config file
Browse files Browse the repository at this point in the history
  • Loading branch information
cavalle committed Dec 8, 2023
1 parent c24504f commit 23d3bdc
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
before:
hooks:
- go mod download
builds:
- id: gobl.ticketbai
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
main: ./cmd/gobl.ticketbai
binary: gobl.ticketbai

archives:
- id: gobl.ticketbai
builds:
- gobl.ticketbai
format: tar.gz
name_template: "gobl.ticketbai_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
wrap_in_directory: true

checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
release:
github:
owner: invopop
name: gobl.ticketbai
prerelease: auto

0 comments on commit 23d3bdc

Please sign in to comment.