diff --git a/agent/setup.py b/agent/setup.py index bbd591962..5f1fb5aa1 100644 --- a/agent/setup.py +++ b/agent/setup.py @@ -28,7 +28,7 @@ _NAME = 'kubeinit' _DESCRIPTION = 'The Kubeinit CLI' -_REVISION = '2.2.1' +_REVISION = '2.2.2' kubeinit_revision = os.environ.get('KUBEINIT_REVISION', "") if (kubeinit_revision != ""): diff --git a/ci/release.sh b/ci/release.sh index 84026a895..72f1fb378 100755 --- a/ci/release.sh +++ b/ci/release.sh @@ -45,7 +45,8 @@ fi namespace=kubeinit name=kubeinit -all_published_versions=$(curl https://galaxy.ansible.com/api/v2/collections/$namespace/$name/versions/ | jq -r '.results' | jq -c '.[].version') + +all_published_versions=$(curl https://galaxy.ansible.com/api/v3/plugin/ansible/content/published/collections/index/$namespace/$name/versions/?format=json | jq -r '.data' | jq -c '.[].version') current_galaxy_version=$(cat kubeinit/galaxy.yml | shyaml get-value version) current_galaxy_namespace=$(cat kubeinit/galaxy.yml | shyaml get-value namespace) current_galaxy_name=$(cat kubeinit/galaxy.yml | shyaml get-value name) diff --git a/kubeinit/galaxy.yml b/kubeinit/galaxy.yml index ea0976780..5c96b45b0 100644 --- a/kubeinit/galaxy.yml +++ b/kubeinit/galaxy.yml @@ -1,7 +1,7 @@ --- namespace: kubeinit name: kubeinit -version: 2.2.1 +version: 2.2.2 readme: README.md authors: - Carlos Camacho diff --git a/ui/app/version.py b/ui/app/version.py index 3bff706bb..9da19b374 100644 --- a/ui/app/version.py +++ b/ui/app/version.py @@ -16,4 +16,4 @@ under the License. """ -__version__ = "2.2.1" +__version__ = "2.2.2" diff --git a/ui/package.json b/ui/package.json index 64c65d127..4c44e04dc 100755 --- a/ui/package.json +++ b/ui/package.json @@ -1,6 +1,6 @@ { "name": "kubeinit-ui", - "version": "2.2.1", + "version": "2.2.2", "description": "Kubeinit UI", "repository": { "type": "git",