Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions pkgs/IBM-Cloud/ibm-cloud-cli-release/pkg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
packages:
- name: IBM-Cloud/ibm-cloud-cli-release@v2.42.0
- name: IBM-Cloud/ibm-cloud-cli-release
version: v2.38.0
- name: IBM-Cloud/ibm-cloud-cli-release
version: v2.37.0
- name: IBM-Cloud/ibm-cloud-cli-release
version: v2.5.0
44 changes: 44 additions & 0 deletions pkgs/IBM-Cloud/ibm-cloud-cli-release/registry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/aquaproj/aqua/main/json-schema/registry.json
packages:
- type: http
repo_owner: IBM-Cloud
repo_name: ibm-cloud-cli-release
description: Command line interface for IBM Cloud
search_words:
- ibmcloud
- bluemix
files:
- name: ibmcloud
src: IBM_Cloud_CLI/ibmcloud
version_constraint: "false"
version_overrides:
# distribution wasn't properly multi-arch until v2.5.0 and newer
- version_constraint: semver("< 2.5.0")
error_message: Please use v2.5.0 or later
# the download base path changed from ibm-cloud-cli to ibm-cloud-cli-dn at v2.38.0
- version_constraint: semver("< 2.38.0")
url: https://download.clis.cloud.ibm.com/ibm-cloud-cli/{{trimV .Version}}/binaries/IBM_Cloud_CLI_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}}
format: tgz
windows_arm_emulation: true
replacements:
darwin: macos
overrides:
- goos: darwin
goarch: amd64
url: https://download.clis.cloud.ibm.com/ibm-cloud-cli/{{trimV .Version}}/binaries/IBM_Cloud_CLI_{{trimV .Version}}_macos.tgz
- goos: windows
format: zip
- version_constraint: "true"
# binaries are hosted on IBM's CDN, not as GitHub Release assets
url: https://download.clis.cloud.ibm.com/ibm-cloud-cli-dn/{{trimV .Version}}/binaries/IBM_Cloud_CLI_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}}
format: tgz
windows_arm_emulation: true
replacements:
darwin: macos
overrides:
# macOS x86_64 has no arch suffix in the filename
- goos: darwin
goarch: amd64
url: https://download.clis.cloud.ibm.com/ibm-cloud-cli-dn/{{trimV .Version}}/binaries/IBM_Cloud_CLI_{{trimV .Version}}_{{.OS}}.{{.Format}}
- goos: windows
format: zip
42 changes: 42 additions & 0 deletions registry.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading