Bump version during release in the beginning (#19395)

Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
7.28.x
Mykhailo Kuznietsov 2021-03-25 12:26:37 +02:00 committed by GitHub
parent 9cddeb23e1
commit e67cd05d6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 5 deletions

View File

@ -456,6 +456,14 @@ setupGitconfig
evaluateCheVariables
checkoutProjects
if [[ "${BUMP_NEXT_VERSION}" = "true" ]]; then
bumpVersions
updateImageTagsInCheServer
# checkout back to branches to make release from
checkoutProjects
fi
if [[ "${REBUILD_FROM_EXISTING_TAGS}" = "true" ]]; then
echo "[INFO] Checking out from existing ${CHE_VERSION} tag"
checkoutTags
@ -471,8 +479,3 @@ if [[ "${BUILD_AND_PUSH_IMAGES}" = "true" ]]; then
tagLatestImages ${CHE_VERSION}
pushImagesOnQuay ${CHE_VERSION} pushLatest
fi
if [[ "${BUMP_NEXT_VERSION}" = "true" ]]; then
bumpVersions
updateImageTagsInCheServer
fi