Explicltly set version for specific packages only (#19811)

This commit is contained in:
Jon Koops 2023-04-20 07:31:52 +02:00 committed by GitHub
parent 3161c4424c
commit dda27ccf6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,11 +10,9 @@ sed -i "s/ENV KEYCLOAK_VERSION .*/ENV KEYCLOAK_VERSION $NEW_VERSION/" quarkus/co
# NPM
cd js
npm --workspaces pkg set "dependencies.keycloak-js=$NEW_VERSION"
npm --workspaces pkg set "dependencies.@keycloak/keycloak-admin-client=$NEW_VERSION"
npm --workspaces pkg set "dependencies.keycloak-masthead=$NEW_VERSION"
npm --workspaces pkg set "dependencies.ui-shared=$NEW_VERSION"
npm version $NEW_VERSION --allow-same-version --no-git-tag-version --workspaces
npm --workspace=admin-ui --workspace=account-ui --workspace=keycloak-masthead pkg set "dependencies.keycloak-js=$NEW_VERSION"
npm --workspace=admin-ui pkg set "dependencies.@keycloak/keycloak-admin-client=$NEW_VERSION"
npm --workspace=keycloak-js --workspace=@keycloak/keycloak-admin-client version $NEW_VERSION --allow-same-version --no-git-tag-version
cd -
# Documentation