@supacloud/admin 0.20.1 → 0.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28704,7 +28704,7 @@ function componentBootstrapCommands(request) {
|
|
|
28704
28704
|
`MANAGEMENT_RELEASE=$(supacloud_fetch_component_release management-api ${quoteEnvValue(managementVersion)} "$MANAGEMENT_ASSET" web-console-build.tar.gz)`,
|
|
28705
28705
|
`supacloud_download_release_asset "$MANAGEMENT_RELEASE" "$MANAGEMENT_ASSET" "$STAGED_MANAGEMENT" binary`,
|
|
28706
28706
|
`chmod 0755 "$STAGED_MANAGEMENT"`,
|
|
28707
|
-
`TARGET_MANAGEMENT_VERSION=$(jq -er '.tag_name | capture("^management-api-v(?<version>(0|[1-9][0-9]*)
|
|
28707
|
+
`TARGET_MANAGEMENT_VERSION=$(jq -er '.tag_name | capture("^management-api-v(?<version>(0|[1-9][0-9]*)[.](0|[1-9][0-9]*)[.](0|[1-9][0-9]*))$").version' <<< "$MANAGEMENT_RELEASE")`,
|
|
28708
28708
|
`STAGED_VERSION=$(timeout 5s "$STAGED_MANAGEMENT" --version 2>&1 | grep -Eo '[0-9]+\\.[0-9]+\\.[0-9]+' | head -1 || true)`,
|
|
28709
28709
|
`test "$STAGED_VERSION" = "$TARGET_MANAGEMENT_VERSION" || { echo 'Target Management binary version does not match its verified release' >&2; exit 1; }`,
|
|
28710
28710
|
`supacloud_version_at_least "$STAGED_VERSION" ${quoteEnvValue(MINIMUM_COMPONENT_UPGRADE_VERSION)} || { echo 'Target Management release lacks component transaction capability' >&2; exit 1; }`,
|
|
@@ -32660,7 +32660,7 @@ Actions: list_releases, get_release, upload_release, activate_release`, {
|
|
|
32660
32660
|
// package.json
|
|
32661
32661
|
var package_default = {
|
|
32662
32662
|
name: "@supacloud/admin",
|
|
32663
|
-
version: "0.
|
|
32663
|
+
version: "0.21.1",
|
|
32664
32664
|
description: "Platform administration CLI for SupaCloud operators",
|
|
32665
32665
|
type: "module",
|
|
32666
32666
|
main: "./dist/index.js",
|