Add CLI release tooling
This commit is contained in:
30
.goreleaser.yml
Normal file
30
.goreleaser.yml
Normal 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
|
||||
Reference in New Issue
Block a user