feat: add basic goreleaser

This commit is contained in:
2025-03-05 22:05:17 +01:00
parent 2c09577d0d
commit 00a9569519
4 changed files with 113 additions and 0 deletions

27
.goreleaser.yml Normal file
View File

@@ -0,0 +1,27 @@
version: 2
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
archives:
- id: archives
formats: [binary]
name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}"
checksum:
name_template: "{{ .ProjectName }}-checksums.txt"
snapshot:
version_template: "git-{{.Commit}}"
release:
name_template: "v{{.Version}}"
changelog:
disable: true