Skip to content

Commit 5de3813

Browse files
committed
chore(build) support arm64
* add macOS and Linux `arm64` build commands to `Makefile` * update CHANGELOG.md * update README.md * relevant to #68
1 parent 88f8bfa commit 5de3813

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66

77
## [Unreleased]
88

9+
## [1.4.8] - 2024-01-18
910
### Added
1011
- Respect `cf` CLI TLS settings, including `--skip-ssl-validation` login option as well as `SSL_CERT_FILE` and `SSL_CERT_DIR` environment variables ([#65](https://github.com/SAP/cf-html5-apps-repo-cli-plugin/issues/65))
12+
- Add `arm64` binaries to the GitHub release ([#68](https://github.com/SAP/cf-html5-apps-repo-cli-plugin/issues/68))
1113

1214
### Fixed
1315
- Handle CloudFoundry `v3` API pagination correctly ([#63](https://github.com/SAP/cf-html5-apps-repo-cli-plugin/issues/63))

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ release:
1717
rm -rf dist
1818
mkdir dist
1919
GO111MODULE=off GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w" -gcflags "all=-trimpath=${HOME}" -o dist/${NAME}-darwin-amd64
20+
GO111MODULE=off GOOS=darwin GOARCH=arm64 go build -ldflags="-s -w" -gcflags "all=-trimpath=${HOME}" -o dist/${NAME}-darwin-arm64
2021
GO111MODULE=off GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -gcflags "all=-trimpath=${HOME}" -o dist/${NAME}-linux-amd64
22+
GO111MODULE=off GOOS=linux GOARCH=arm64 go build -ldflags="-s -w" -gcflags "all=-trimpath=${HOME}" -o dist/${NAME}-linux-arm64
2123
GO111MODULE=off GOOS=windows GOARCH=amd64 go build -ldflags="-s -w" -gcflags "all=-trimpath=${HOME}" -o dist/${NAME}-windows-amd64.exe
2224
@echo "===================="
2325
@echo "- authors:"

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,26 @@ cf install-plugin -r CF-Community "html5-plugin"
4141

4242
Alternatively, you can install latest release from GitHub Releases with one of the following commands, depending on you operational system:
4343

44-
#### macOS
44+
#### macOS (Intel)
4545
```bash
4646
cf install-plugin -f https://github.com/SAP/cf-html5-apps-repo-cli-plugin/releases/latest/download/cf-html5-apps-repo-cli-plugin-darwin-amd64
4747
```
4848

49-
#### Linux
49+
#### macOS (Apple silicon)
50+
```bash
51+
cf install-plugin -f https://github.com/SAP/cf-html5-apps-repo-cli-plugin/releases/latest/download/cf-html5-apps-repo-cli-plugin-darwin-arm64
52+
```
53+
54+
#### Linux (amd64)
5055
```bash
5156
cf install-plugin -f https://github.com/SAP/cf-html5-apps-repo-cli-plugin/releases/latest/download/cf-html5-apps-repo-cli-plugin-linux-amd64
5257
```
5358

59+
#### Linux (arm64)
60+
```bash
61+
cf install-plugin -f https://github.com/SAP/cf-html5-apps-repo-cli-plugin/releases/latest/download/cf-html5-apps-repo-cli-plugin-linux-arm64
62+
```
63+
5464
#### Windows
5565
```bash
5666
cf install-plugin -f https://github.com/SAP/cf-html5-apps-repo-cli-plugin/releases/latest/download/cf-html5-apps-repo-cli-plugin-windows-amd64.exe

0 commit comments

Comments
 (0)