From 28f0e5cf145bec9b844be43efe15359d68576184 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 4 Nov 2021 08:58:12 -0500 Subject: [PATCH] TEST: look into using goreleaser Signed-off-by: Jeff Carr --- Makefile | 5 +++++ goreleaser.yml | 31 +++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 goreleaser.yml diff --git a/Makefile b/Makefile index f2a8f14..6a2adbe 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/goreleaser.yml b/goreleaser.yml new file mode 100644 index 0000000..aeadcb1 --- /dev/null +++ b/goreleaser.yml @@ -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'