From c29db3dbd0491119755db5d99443dac423b2681b Mon Sep 17 00:00:00 2001 From: Jeff Halter <868228+jhalter@users.noreply.github.com> Date: Sun, 9 Jun 2024 18:38:57 -0700 Subject: Update goreleaser config --- .goreleaser.yaml | 45 ++++++++++++++++++++++++++++++--------------- dist/.keep | 0 2 files changed, 30 insertions(+), 15 deletions(-) delete mode 100644 dist/.keep diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 6cf9e16..9498cc6 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -7,34 +7,35 @@ before: builds: - id: "mobius-hotline-server" main: ./cmd/mobius-hotline-server + binary: mobius-hotline-server env: - CGO_ENABLED=0 goarch: - amd64 - - arm - - arm64 - goos: - - linux - - windows - - darwin - - id: "mobius-hotline-client" - main: ./cmd/mobius-hotline-client - env: - - CGO_ENABLED=0 - goarch: - - amd64 - - arm - arm64 goos: - linux - windows - darwin +# - id: "mobius-hotline-client" +# main: ./cmd/mobius-hotline-client +# binary: mobius-hotline-client +# env: +# - CGO_ENABLED=0 +# goarch: +# - amd64 +# - arm64 +# goos: +# - linux +# - windows +# - darwin archives: - - format: tar.gz + - id: "mobius-hotline-server" + format: tar.gz # this name template makes the OS and Arch compatible with the results of `uname`. name_template: >- - {{ .ProjectName }}_ + {{ .ProjectName }}_server_ {{- title .Os }}_ {{- if eq .Arch "amd64" }}x86_64 {{- else if eq .Arch "386" }}i386 @@ -44,6 +45,20 @@ archives: format_overrides: - goos: windows format: zip +# - id: "mobius-hotline-client" +# format: tar.gz +# # this name template makes the OS and Arch compatible with the results of `uname`. +# name_template: >- +# {{ .ProjectName }}_client_ +# {{- title .Os }}_ +# {{- if eq .Arch "amd64" }}x86_64 +# {{- else if eq .Arch "386" }}i386 +# {{- else }}{{ .Arch }}{{ end }} +# {{- if .Arm }}v{{ .Arm }}{{ end }} +# # use zip for windows archives +# format_overrides: +# - goos: windows +# format: zip changelog: sort: asc diff --git a/dist/.keep b/dist/.keep deleted file mode 100644 index e69de29..0000000 -- cgit