Skip to content

Commit

Permalink
Fix GoReleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
aschbacd committed Jan 24, 2022
1 parent e77ae0b commit 53ce838
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.env
dist/
48 changes: 48 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
archives:
- files:
- assets
- views
format_overrides:
- format: zip
goos: windows
replacements:
386: i386

before:
hooks:
- go mod tidy
- go generate ./...

builds:
- env:
- CGO_ENABLED=0
goarch:
- 386
- amd64
- arm
- arm64
goos:
- linux
- windows
- darwin
ignore:
- goarch: arm
goos: windows

changelog:
filters:
exclude:
- "^docs:"
- "^test:"
- Merge pull request
- Merge branch

checksum:
name_template: checksums.txt

release:
name_template: "{{ .ProjectName }} {{ .Tag }}"
prerelease: auto

snapshot:
name_template: "{{ incpatch .Version }}-next"

0 comments on commit 53ce838

Please sign in to comment.