Add CLI release tooling

This commit is contained in:
2026-04-04 20:12:57 +03:00
parent 064c6c4464
commit d6aceaea18
5 changed files with 356 additions and 0 deletions

30
.goreleaser.yml Normal file
View File

@@ -0,0 +1,30 @@
version: 2
project_name: mcstatus
builds:
- id: mcstatus
main: ./cmd/mcstatus
binary: mcstatus
env:
- CGO_ENABLED=0
goos:
- windows
- linux
- darwin
goarch:
- amd64
- arm64
archives:
- id: default
formats: [zip]
name_template: >-
{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}
checksum:
name_template: checksums.txt
changelog:
use: git
sort: asc