mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-19 01:39:48 +00:00
Merge pull request #5286 from gkurz/backport-3.0/5284-release-script
tools: release: fix bogus version check
This commit is contained in:
commit
619d1b487f
@ -191,7 +191,7 @@ bump_repo() {
|
|||||||
|
|
||||||
need_commit=true
|
need_commit=true
|
||||||
fi
|
fi
|
||||||
elif [ "${new_version}" != *"rc"* ]; then
|
elif [[ ! "${new_version}" =~ "rc" ]]; then
|
||||||
## We are on a stable branch and creating new stable releases.
|
## We are on a stable branch and creating new stable releases.
|
||||||
## Need to change kata-deploy / kata-cleanup to use the stable tags.
|
## Need to change kata-deploy / kata-cleanup to use the stable tags.
|
||||||
if [[ "${version_to_replace}" =~ "rc" ]]; then
|
if [[ "${version_to_replace}" =~ "rc" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user