Bump NPM versions in set-version.sh (#17128)

This commit is contained in:
Jon Koops 2023-02-15 16:31:48 +01:00 committed by GitHub
parent 1f6fa0501c
commit 9432bd601f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,13 @@
NEW_VERSION=$1
# Maven
mvn versions:set -DnewVersion=$NEW_VERSION -DgenerateBackupPoms=false -DgroupId=org.keycloak* -DartifactId=*
sed -i "s/ENV KEYCLOAK_VERSION .*/ENV KEYCLOAK_VERSION $NEW_VERSION/" quarkus/container/Dockerfile
# Docker
sed -i "s/ENV KEYCLOAK_VERSION .*/ENV KEYCLOAK_VERSION $NEW_VERSION/" quarkus/container/Dockerfile
# NPM
cd js
npm version $NEW_VERSION --allow-same-version --no-git-tag-version --workspaces
cd -