Fix release parameters (#19086)

* Fix release parameters
7.28.x
Mykhailo Kuznietsov 2021-02-17 15:17:04 +02:00 committed by GitHub
parent b087ba8c2d
commit 8d91b7bbcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 5 deletions

View File

@ -47,7 +47,7 @@ on:
bumpNextVersion:
description: 'If true, will update this project to the next version.'
required: false
default: 'false'
default: 'true'
jobs:
build:

View File

@ -456,21 +456,23 @@ setupGitconfig
evaluateCheVariables
checkoutProjects
if [[ "${REBUILD_FROM_EXISTING_TAGS}" ]]; then
if [[ "${REBUILD_FROM_EXISTING_TAGS}" = "true" ]]; then
echo "[INFO] Checking out from existing ${CHE_VERSION} tag"
checkoutTags
else
echo "[INFO] Creating a new ${CHE_VERSION} tag"
prepareRelease
createTags
fi
releaseCheServer
if [[ "${BUILD_AND_PUSH_IMAGES}" ]]; then
if [[ "${BUILD_AND_PUSH_IMAGES}" = "true" ]]; then
buildImages ${CHE_VERSION}
tagLatestImages ${CHE_VERSION}
pushImagesOnQuay ${CHE_VERSION} pushLatest
fi
if [[ "${BUMP_NEXT_VERSION}" ]]; then
if [[ "${BUMP_NEXT_VERSION}" = "true" ]]; then
bumpVersions
updateImageTagsInCheServer
fi
fi