Skip to content

Commit

Permalink
add architecture in asset name to enable diff between arm64 and amd64
Browse files Browse the repository at this point in the history
  • Loading branch information
aegershman committed Aug 3, 2024
1 parent cd7165c commit 73b216b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ archives:
builds:
- darwin
format: binary
name_template: "{{ .ProjectName }}-{{ .Os }}"
name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}"

checksum:
name_template: "checksums.txt"
Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ tasks:
cmds:
- go mod tidy
- go generate ./...
- goreleaser build --clean
- goreleaser build --clean

release:
cmds:
Expand Down

0 comments on commit 73b216b

Please sign in to comment.