Skip to content

Commit

Permalink
Add goreleaser cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
mkmik committed Feb 26, 2022
1 parent eaa896b commit 075b6c6
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
builds:
- main: ./cmd/knot8
env:
- CGO_ENABLED=0
targets:
- linux_amd64
- linux_arm64
- darwin_amd64
- darwin_arm64
- windows_amd64
- windows_arm64
checksum:
algorithm: sha256
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"

0 comments on commit 075b6c6

Please sign in to comment.