Skip to content

Commit

Permalink
Fix goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
olihaulogy committed Apr 8, 2024
1 parent f6862d0 commit afcc585
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
24 changes: 10 additions & 14 deletions .goreleaser.yml
@@ -1,20 +1,16 @@
---
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
- env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
checksum:
name_template: 'checksums.txt'
snapshot:
Expand All @@ -23,5 +19,5 @@ changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^docs:'
- '^test:'
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -16,5 +16,5 @@ lint: $(golangci-lint)

# Release a new version
release: $(goreleaser)
$(goreleaser) --rm-dist
$(goreleaser) --clean
.PHONY: release

0 comments on commit afcc585

Please sign in to comment.