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'