Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(buildkite/cli): follow up changes of buildkite v3.0.0 #26991

Merged
merged 2 commits into from
Sep 18, 2024
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
10 changes: 9 additions & 1 deletion pkgs/buildkite/cli/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
packages:
- name: buildkite/[email protected]
- name: buildkite/[email protected]
- name: buildkite/cli
version: v3.0.0-beta.20240418
- name: buildkite/cli
version: v3.0.0-beta.20240326
- name: buildkite/cli
version: v3.0.0-beta.20240202
- name: buildkite/cli
version: v2.0.0
- name: buildkite/cli
version: v1.2.0
- name: buildkite/cli
Expand Down
57 changes: 43 additions & 14 deletions pkgs/buildkite/cli/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,53 @@ packages:
repo_owner: buildkite
repo_name: cli
description: A command line interface for Buildkite
supported_envs:
- darwin
- linux
- amd64
asset: cli-{{.OS}}-{{.Arch}}
format: raw
files:
- name: bk
src: cli
version_constraint: semver(">= 2.0.0")
complete_windows_ext: false
version_constraint: "false"
version_overrides:
- version_constraint: semver(">= 1.2.0")
complete_windows_ext: true
- version_constraint: "true"
complete_windows_ext: true
- version_constraint: semver("<= 1.1.0")
asset: bk-{{.OS}}-{{.Arch}}-{{trimV .Version}}
format: raw
rosetta2: true
windows_arm_emulation: true
supported_envs:
- darwin
- windows
- amd64
- version_constraint: Version == "v1.2.0"
asset: cli-{{.OS}}-{{.Arch}}
format: raw
windows_arm_emulation: true
- version_constraint: Version == "v2.0.0"
asset: cli-{{.OS}}-{{.Arch}}
format: raw
windows_arm_emulation: true
complete_windows_ext: false
- version_constraint: Version == "v3.0.0-beta.20240202"
asset: bk_{{trimV .Version}}_{{.OS}}_{{.Arch}}
format: raw
- version_constraint: Version == "v3.0.0-beta.20240326"
asset: bk_{{trimV .Version}}_{{.OS}}_{{.Arch}}
format: raw
rosetta2: true
asset: bk-{{.OS}}-{{.Arch}}-{{.Version|trimV}}
- version_constraint: Version == "v3.0.0-beta.20240418"
asset: "{{.Version}}_{{.OS}}_{{.Arch}}"
format: raw
- version_constraint: "true"
asset: bk_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}}
format: zip
files:
- name: bk
src: "{{.AssetWithoutExt}}/bk"
replacements:
darwin: macOS
checksum:
type: github_release
asset: bk_{{trimV .Version}}_checksums.txt
algorithm: sha256
overrides:
- goos: linux
format: tar.gz
- goos: windows
files:
- name: bk
57 changes: 43 additions & 14 deletions registry.yaml

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