Skip to content

Commit

Permalink
chore: remove eclipse-che/che-server dependency from the release proc…
Browse files Browse the repository at this point in the history
…ess (#1825)

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
  • Loading branch information
tolusha authored Nov 15, 2021
1 parent c5da379 commit 666b698
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,9 @@ release() {
echo "$VERSION" > VERSION

# 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;\"@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
fi

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

0 comments on commit 666b698

Please sign in to comment.