TEST: look into using goreleaser

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2021-11-04 08:58:12 -05:00
parent 66be964e01
commit 28f0e5cf14
2 changed files with 36 additions and 0 deletions

View File

@ -27,6 +27,11 @@ build:
-X main.BUILDTIME='${BUILDTIME}' \
-X main.VERSION=${VERSION}"
goreleaser:
# go install github.com/goreleaser/goreleaser@latest
goreleaser release
godoc:
godoc -http=:6060

31
goreleaser.yml Normal file
View File

@ -0,0 +1,31 @@
project_name: debian-gui
builds:
-
id: debian-gui
# ldflags:
# - -s -w -X code.rocketnine.space/tslocum/carotidartillery/main.Version={{.Version}}
goos:
- js
- linux
- windows
goarch:
- amd64
- wasm
archives:
-
id: debian-gui
builds:
- debian-gui
replacements:
386: i386
format_overrides:
- goos: js
format: zip
- goos: windows
format: zip
files:
- ./*.md
- LICENSE
checksum:
name_template: 'checksums.txt'