Skip to content

Commit

Permalink
Fixing goreleaser issue and removed hook stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
kristofferahl committed May 9, 2022
1 parent 4ab459f commit 82ea8e2
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 16 deletions.
39 changes: 26 additions & 13 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,36 @@
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
- go mod tidy
- go mod download
builds:
- binary: "{{ .ProjectName }}_{{ .Tag }}"
- env:
- CGO_ENABLED=0
archive:
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
- id: centry
binary: "{{ .ProjectName }}_{{ .Tag }}"
goos:
- darwin
- linux
goarch:
- "386"
- "amd64"
- "arm64"
env:
- CGO_ENABLED=0
archives:
- id: centry
builds:
- centry
replacements:
darwin: Darwin
linux: Linux
checksum:
name_template: 'checksums.txt'
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- "^.github:"
- "^docs:"
- "^test:"
3 changes: 0 additions & 3 deletions hooks/build

This file was deleted.

0 comments on commit 82ea8e2

Please sign in to comment.