release
This commit is contained in:
30
.goreleaser.yaml
Normal file
30
.goreleaser.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
version: 2
|
||||
|
||||
project_name: pb
|
||||
|
||||
builds:
|
||||
- id: pb
|
||||
main: .
|
||||
binary: pb
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
goos:
|
||||
- linux
|
||||
- darwin
|
||||
- windows
|
||||
goarch:
|
||||
- amd64
|
||||
- arm64
|
||||
|
||||
archives:
|
||||
- id: pb
|
||||
builds:
|
||||
- pb
|
||||
format: tar.gz
|
||||
format_overrides:
|
||||
- goos: windows
|
||||
format: zip
|
||||
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
||||
|
||||
checksum:
|
||||
name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt"
|
||||
Reference in New Issue
Block a user