go releaser
This commit is contained in:
7
.gitignore
vendored
7
.gitignore
vendored
@@ -76,3 +76,10 @@ fabric.properties
|
|||||||
|
|
||||||
# Android studio 3.1+ serialized cache file
|
# Android studio 3.1+ serialized cache file
|
||||||
.idea/caches/build_file_checksums.ser
|
.idea/caches/build_file_checksums.ser
|
||||||
|
|
||||||
|
*~
|
||||||
|
*.bak
|
||||||
|
*.txt
|
||||||
|
|
||||||
|
/dist
|
||||||
|
/monkey-lang
|
||||||
24
.goreleaser.yml
Normal file
24
.goreleaser.yml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
builds:
|
||||||
|
- flags: -tags "static_build"
|
||||||
|
ldflags: -w -X main.Version={{.Version}} -X main.Commit={{.Commit}}
|
||||||
|
env:
|
||||||
|
- CGO_ENABLED=0
|
||||||
|
sign:
|
||||||
|
artifacts: checksum
|
||||||
|
archive:
|
||||||
|
replacements:
|
||||||
|
darwin: Darwin
|
||||||
|
linux: Linux
|
||||||
|
windows: Windows
|
||||||
|
386: i386
|
||||||
|
amd64: x86_64
|
||||||
|
checksum:
|
||||||
|
name_template: 'checksums.txt'
|
||||||
|
snapshot:
|
||||||
|
name_template: "{{ .Tag }}-next"
|
||||||
|
changelog:
|
||||||
|
sort: asc
|
||||||
|
filters:
|
||||||
|
exclude:
|
||||||
|
- '^docs:'
|
||||||
|
- '^test:'
|
||||||
Reference in New Issue
Block a user