Skip to content

Commit

Permalink
Fix release parameters (eclipse-che#19086)
Browse files Browse the repository at this point in the history
* Fix release parameters
  • Loading branch information
mkuznyetsov committed Feb 17, 2021
1 parent b087ba8 commit 8d91b7b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
10 changes: 6 additions & 4 deletions make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8d91b7b

Please sign in to comment.