Skip to content

Commit

Permalink
fix incorrect jq synthax during release (#22495)
Browse files Browse the repository at this point in the history
Signed-off-by: Mykhailo Kuznietsov <[email protected]>
  • Loading branch information
mkuznyetsov authored Sep 7, 2023
1 parent 802765b commit a5a0151
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ bump_version () {
pushd tests/e2e >/dev/null || exit
npm --no-git-tag-version version --allow-same-version "${NEXT_VERSION}"
# update devworkspace generator version
jq ".\"dependencies\".\"@eclipse-che/che-devworkspace-generator\" = \"${NEXT_VERSION}\" |" package.json > package.json.update
jq ".\"dependencies\".\"@eclipse-che/che-devworkspace-generator\" = \"${NEXT_VERSION}\"" package.json > package.json.update
mv package.json.update package.json
popd >/dev/null || exit

Expand Down Expand Up @@ -157,7 +157,7 @@ echo "${VERSION}" > VERSION

pushd tests/e2e >/dev/null || exit
# update devworkspace generator version
jq ".\"dependencies\".\"@eclipse-che/che-devworkspace-generator\" = \"${VERSION}\" |" package.json > package.json.update
jq ".\"dependencies\".\"@eclipse-che/che-devworkspace-generator\" = \"${VERSION}\"" package.json > package.json.update
mv package.json.update package.json
npm --no-git-tag-version version --allow-same-version "${VERSION}"
popd >/dev/null || exit
Expand Down

0 comments on commit a5a0151

Please sign in to comment.