From e98d2266be1bca80e17001a72b74d045c85c4192 Mon Sep 17 00:00:00 2001 From: Andrew Savinykh <27190911+andrewsav-bt@users.noreply.github.com> Date: Sat, 6 Jan 2024 17:56:42 +1300 Subject: [PATCH] fix goreleaser incompatibility --- .goreleaser.yml | 12 +++++++----- README.md | 4 ++-- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 946d779..e4ef9b6 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -31,11 +31,13 @@ builds: universal_binaries: - replace: true archives: - - replacements: - darwin: Darwin - linux: Linux - windows: Windows - amd64: x86_64 + - name_template: >- + {{- .ProjectName }}_ + {{- title .Os }}_ + {{- if eq .Arch "amd64" }}x86_64 + {{- else if eq .Arch "386" }}i386 + {{- else }}{{ .Arch }}{{ end }} + {{- if .Arm }}v{{ .Arm }}{{ end -}} checksum: name_template: 'checksums.txt' snapshot: diff --git a/README.md b/README.md index 846365a..e3d1868 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ The easiest way to get everything set up correctly (e.g. ldflags) is to use [gor ``` # cd DEXTER_SOURCE -# goreleaser release --snapshot --rm-dist +# goreleaser release --snapshot --clean • releasing... • loading config file file=.goreleaser.yml • loading environment variables @@ -216,7 +216,7 @@ It's awesome that you consider contributing to `dexter` and it's really simple. Initial code was written by [Daniel Kerwin](mailto:daniel@gini.net) & David González Ruiz Contributors (in alphabetical order): -- https://github.com/andrewsav-datacom +- https://github.com/andrewsav-bt - https://github.com/cblims - https://github.com/Lujeni - https://github.com/pussinboots