Skip to content

Commit

Permalink
fix: fix incorrect version in release script (eclipse-che#22559)
Browse files Browse the repository at this point in the history
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
  • Loading branch information
mkuznyetsov committed Sep 27, 2023
1 parent 6c67694 commit 9e42453
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ bump_version () {

pushd tests/e2e >/dev/null || exit
npm --no-git-tag-version version --allow-same-version "${NEXT_VERSION}"
# update devworkspace generator version only for bugfix releases
if [[ "${BASEBRANCH}" != "${BRANCH}" ]]; then
jq ".\"dependencies\".\"@eclipse-che/che-devworkspace-generator\" = \"${NEXT_VERSION}\"" package.json > package.json.update
# update devworkspace generator version only for bugfix releases (e.g. for 7.74.x branch, version would be next-7.74.x)
if [[ "${BASEBRANCH}" == "${BRANCH}" ]]; then
jq ".\"dependencies\".\"@eclipse-che/che-devworkspace-generator\" = \"next-${BRANCH}\"" package.json > package.json.update
mv package.json.update package.json
fi
npm run prettier
Expand Down

0 comments on commit 9e42453

Please sign in to comment.