ceph-csi/scripts
Niels de Vos d610c51007 ci: detect latest version with "Kubernetes" prefix
New Kubernetes versions are now prefixed with "Kubernetes", like:

    $ ./scripts/get_patch_release.py
    Kubernetes v1.18.13
    Kubernetes v1.17.15
    Kubernetes v1.19.5
    Kubernetes v1.20.0
    Kubernetes v1.20.0-rc.0
    v1.20.0-beta.2
    v1.18.12
    v1.19.4
    v1.17.14
    v1.20.0-beta.1
    v1.20.0-beta.0
    v1.20.0-alpha.3
    v1.18.10
    v1.17.13

The new "Kubernetes" prefix prevents the current logic to not match the
version. By splitting the returned version string on words, and
returning the last component in get_releases(), the script works as
intended again.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-12-16 04:47:42 +00:00
..
container-needs-rebuild.sh ci: add script to detect need of container image rebuild 2020-11-04 05:52:01 +00:00
Dockerfile.test ci: add 'make test' target to validate CI job scripts 2020-05-27 12:52:21 +02:00
get_github_labels.py ci: log rate limit in case the GitHub API returns 403 2020-10-14 15:30:32 +02:00
get_patch_release.py ci: detect latest version with "Kubernetes" prefix 2020-12-16 04:47:42 +00:00
lint-extras.sh ci: add 'make test' target to validate CI job scripts 2020-05-27 12:52:21 +02:00
mdl-style.rb ci: add 'make test' target to validate CI job scripts 2020-05-27 12:52:21 +02:00
skip-doc-change.sh ci: do not mark script changes as doc-only 2020-11-26 07:01:17 +00:00