From 73b216bc0865986991bb8eaf0f03a14fc9feb6bd Mon Sep 17 00:00:00 2001 From: Aaron Gershman Date: Sat, 3 Aug 2024 16:40:04 -0500 Subject: [PATCH] add architecture in asset name to enable diff between arm64 and amd64 --- .goreleaser.yml | 2 +- README.md | 9 ++++++--- Taskfile.yml | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index ed125f6..ed3e0eb 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -37,7 +37,7 @@ archives: builds: - darwin format: binary - name_template: "{{ .ProjectName }}-{{ .Os }}" + name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}" checksum: name_template: "checksums.txt" diff --git a/README.md b/README.md index e282276..3558555 100644 --- a/README.md +++ b/README.md @@ -240,14 +240,17 @@ This example is going to be a bit cluttered, so it's recommended using `jq` to p If you want to try it out, install it directly from [the github releases tab as follows](https://github.com/aegershman/cf-report-usage-plugin/releases): ```sh +# osx apple silicone +cf install-plugin -f https://github.com/aegershman/cf-report-usage-plugin/releases/download/3.4.3/cf-report-usage-plugin-darwin-arm64 + # osx 64bit -cf install-plugin -f https://github.com/aegershman/cf-report-usage-plugin/releases/download/3.3.2/cf-report-usage-plugin-darwin +cf install-plugin -f https://github.com/aegershman/cf-report-usage-plugin/releases/download/3.4.3/cf-report-usage-plugin-darwin-amd64 # linux 64bit (32bit and ARM6 also available) -cf install-plugin -f https://github.com/aegershman/cf-report-usage-plugin/releases/download/3.3.2/cf-report-usage-plugin-linux-amd64 +cf install-plugin -f https://github.com/aegershman/cf-report-usage-plugin/releases/download/3.4.3/cf-report-usage-plugin-linux-amd64 # windows 64bit (32bit also available) -cf install-plugin -f https://github.com/aegershman/cf-report-usage-plugin/releases/download/3.3.2/cf-report-usage-plugin-windows-amd64.exe +cf install-plugin -f https://github.com/aegershman/cf-report-usage-plugin/releases/download/3.4.3/cf-report-usage-plugin-windows-amd64.exe ``` ## backwards compatibility diff --git a/Taskfile.yml b/Taskfile.yml index 4c85165..2f9ab7c 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -6,7 +6,7 @@ tasks: cmds: - go mod tidy - go generate ./... - - goreleaser build --clean + - goreleaser build --clean release: cmds: