Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
fixup! fixup! fixup! fixup! feat: Add devworkspace-generator to Che r…
Browse files Browse the repository at this point in the history
…elease cycle
  • Loading branch information
mkuznyetsov committed Aug 16, 2023
1 parent 166a356 commit 6c8d127
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,9 @@ updateVersion () {
thisVERSION="$1"
# update main VERSION file of devfile registry
echo "${thisVERSION}" > VERSION
# update version of devworkspace-generator
# update version of devworkspace-generator in package.json
jq ".\"dependencies\".\"@eclipse-che/che-devworkspace-generator\" = \"${thisVERSION}\"" tools/devworkspace-generator/package.json > tools/devworkspace-generator/package.json.update
mv tools/devworkspace-generator/package.json.update tools/devworkspace-generator/package.json
sed -i -r -e "s/(\"version\": )(\".*\")/\1\"${thisVERSION}\"/" tools/devworkspace-generator/package.json
}

if [[ ! ${VERSION} ]]; then
Expand Down

0 comments on commit 6c8d127

Please sign in to comment.