Skip to content

Commit

Permalink
build: Update eclipse-che/api dependency on release (#1435)
Browse files Browse the repository at this point in the history
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
  • Loading branch information
tolusha committed Jul 19, 2021
1 parent 9f4f598 commit a38ed85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ release() {
# now replace package.json dependencies
apply_sed "s;github.com/eclipse-che/che-server#\(.*\)\",;github.com/eclipse-che/che-server#${VERSION}\",;g" package.json
apply_sed "s;github.com/eclipse-che/che-operator#\(.*\)\",;github.com/eclipse-che/che-operator#${VERSION}\",;g" package.json
apply_sed "s;github.com/devfile/devworkspace-operator#\(.*\)\",;github.com/devfile/devworkspace-operator#${DWO_GIT_VERSION}\",;g" package.json
apply_sed "s;github.com/eclipse-che/che-operator#\(.*\)\",;github.com/eclipse-che/che-operator#${VERSION}\",;g" package.json
apply_sed "s;\"@eclipse-che/api\": \"\(.*\)\",;\"@eclipse-che/api\": \"${VERSION}\",;g" package.json

if ! grep -q "github.com/eclipse-che/che-server#${VERSION}" package.json; then
echo "[ERROR] Unable to find Che Server version ${VERSION} in the package.json"; exit 1
Expand Down

0 comments on commit a38ed85

Please sign in to comment.