Browse Source

Add goreleaser config

pull/5/head v1.0.0
James Mills 3 years ago
parent
commit
c1f19ca76b
Signed by: prologic GPG Key ID: AC4C014F1440EBD6
  1. 1
      .gitignore
  2. 25
      .goreleaser.yml

1
.gitignore

@ -2,4 +2,5 @@
*.bak
*.txt
/dist
/monkey-lang

25
.goreleaser.yml

@ -0,0 +1,25 @@
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:'
Loading…
Cancel
Save