diff options
| author | Dan Engelbrecht <[email protected]> | 2025-06-10 10:08:27 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2025-06-10 10:08:27 +0200 |
| commit | 9f64a9c1e45da522745bb67872e6e096838d915e (patch) | |
| tree | 3317c71cd9bac56e84127603c13e9e8b6b8e2897 | |
| parent | 5.6.10 (diff) | |
| download | zen-9f64a9c1e45da522745bb67872e6e096838d915e.tar.xz zen-9f64a9c1e45da522745bb67872e6e096838d915e.zip | |
restore legacy --url option for builds download (#428)
| -rw-r--r-- | CHANGELOG.md | 3 | ||||
| -rw-r--r-- | src/zen/cmds/builds_cmd.cpp | 8 |
2 files changed, 10 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index f23302005..204f99df4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ ## +- Bugfix: Reinstate `zen builds --url` option to old behaviour, use `zen builds --cloud-url` for "Cloud Artifact URL" + +## 5.6.10 - Feature: `zen builds list` now allows `--bucket` to be skipped to allow for multi-bucket search, `bucketRegex` field must be included in the search query - Feature: `--url` option for `zen builds` command has been reworked to accept a "Cloud Artifact URL", removing the need to specify "host", "namespace" and "bucket" separately - Feature: `zen builds pause`, `zen builds resume` and `zen builds abort` commands to control a running `zen builds` command diff --git a/src/zen/cmds/builds_cmd.cpp b/src/zen/cmds/builds_cmd.cpp index 426625187..133ff795d 100644 --- a/src/zen/cmds/builds_cmd.cpp +++ b/src/zen/cmds/builds_cmd.cpp @@ -9646,7 +9646,13 @@ BuildsCommand::BuildsCommand() auto AddCloudOptions = [this, &AddAuthOptions](cxxopts::Options& Ops) { AddAuthOptions(Ops); Ops.add_option("cloud build", "", "override-host", "Cloud Builds URL", cxxopts::value(m_OverrideHost), "<override-host>"); - Ops.add_option("cloud build", "", "url", "Cloud Artifact URL", cxxopts::value(m_Url), "<url>"); + Ops.add_option("cloud build", + "", + "url", + "Cloud Builds host url (legacy - use --override-host)", + cxxopts::value(m_OverrideHost), + "<url>"); + Ops.add_option("cloud build", "", "cloud-url", "Cloud Artifact URL", cxxopts::value(m_Url), "<cloud-url>"); Ops.add_option("cloud build", "", "host", "Cloud Builds host", cxxopts::value(m_Host), "<host>"); Ops.add_option("cloud build", "", |