Skip to content

Commit

Permalink
feat: add UpCloudLtd/upcloud-cli (upctl) (#29366)
Browse files Browse the repository at this point in the history
* feat(UpCloudLtd/upcloud-cli): scaffold UpCloudLtd/upcloud-cli

* fix(UpCloudLtd/upcloud-cli): add files
  • Loading branch information
scop authored Nov 29, 2024
1 parent 9e27144 commit cc611b1
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/UpCloudLtd/upcloud-cli/pkg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
packages:
- name: UpCloudLtd/[email protected]
- name: UpCloudLtd/upcloud-cli
version: v1.3.0
- name: UpCloudLtd/upcloud-cli
version: v0.5.0
47 changes: 47 additions & 0 deletions pkgs/UpCloudLtd/upcloud-cli/registry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
packages:
- type: github_release
repo_owner: UpCloudLtd
repo_name: upcloud-cli
description: UpCloud command line client (upctl)
files:
- name: upctl
version_constraint: "false"
version_overrides:
- version_constraint: semver("<= 0.5.0")
asset: upctl-{{.Version}}-{{.OS}}-{{.Arch}}
format: raw
rosetta2: true
windows_arm_emulation: true
checksum:
type: github_release
asset: SHA256SUMS
algorithm: sha256
supported_envs:
- darwin
- windows
- amd64
- version_constraint: semver("<= 1.3.0")
asset: upcloud-cli_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}}
format: tar.gz
windows_arm_emulation: true
replacements:
amd64: x86_64
checksum:
type: github_release
asset: checksums.txt
algorithm: sha256
overrides:
- goos: windows
format: zip
- version_constraint: "true"
asset: upcloud-cli_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}}
format: tar.gz
replacements:
amd64: x86_64
checksum:
type: github_release
asset: checksums.txt
algorithm: sha256
overrides:
- goos: windows
format: zip
46 changes: 46 additions & 0 deletions registry.yaml

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

0 comments on commit cc611b1

Please sign in to comment.