Skip to content

Commit

Permalink
update goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
cenkalti committed Aug 16, 2023
1 parent cdb0bb9 commit 06302d0
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@

# Dependency directories (remove the comment below to include it)
# vendor/

dist/
23 changes: 23 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
archives:
- format: tar.gz
name_template: >-
{{ .ProjectName }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
checksum:
name_template: 'checksums.txt'
changelog:
sort: desc
filters:
exclude:
- '^docs:'
- '^test:'

# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj

0 comments on commit 06302d0

Please sign in to comment.