Skip to content

Commit

Permalink
Update goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
davegaeddert committed Mar 28, 2023
1 parent 12574d8 commit 1ad093b
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 35 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
/vendor
/bin

dist/
26 changes: 26 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin

archives:
- format: tar.gz
name_template: '{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{
.Arm }}{{ end }}'
# use zip for windows archives
format_overrides:
- goos: windows
format: zip
files:
- LICENSE*
- README*
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
27 changes: 0 additions & 27 deletions .goreleaser.yml

This file was deleted.

8 changes: 0 additions & 8 deletions .travis.yml

This file was deleted.

0 comments on commit 1ad093b

Please sign in to comment.