mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-18 17:33:02 +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
|
||||
fi
|
||||
elif [ "${new_version}" != *"rc"* ]; then
|
||||
elif [[ ! "${new_version}" =~ "rc" ]]; then
|
||||
## We are on a stable branch and creating new stable releases.
|
||||
## Need to change kata-deploy / kata-cleanup to use the stable tags.
|
||||
if [[ "${version_to_replace}" =~ "rc" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user