add goreleaser

This commit is contained in:
crgimenes
2023-01-11 00:43:42 -03:00
parent 4f38ff1e3b
commit 8482d6a40e

37
.goreleaser.yml Normal file
View File

@@ -0,0 +1,37 @@
before:
hooks:
- go mod tidy
- go generate ./...
builds:
- id: neko
main: ./main.go
ldflags: -s -w
binary: ipterm
goos:
- darwin
- linux
- freebsd
- windows
goarch:
- amd64
- 386
- arm
- arm64
goarm:
- 6
- 7
archives:
- replacements:
darwin: Darwin
linux: Linux
amd64: x86_64
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"