Fix setting versions (#19796)
This commit is contained in:
parent
25a1496e0d
commit
9302699178
1 changed files with 15 additions and 1 deletions
|
@ -10,5 +10,19 @@ sed -i "s/ENV KEYCLOAK_VERSION .*/ENV KEYCLOAK_VERSION $NEW_VERSION/" quarkus/co
|
||||||
|
|
||||||
# NPM
|
# NPM
|
||||||
cd js
|
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 version $NEW_VERSION --allow-same-version --no-git-tag-version --workspaces
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
|
# Documentation
|
||||||
|
cd docs/documentation
|
||||||
|
SHORT_VERSION=`echo $VERSION | awk -F '.' '{ print $1"."$2 }'`
|
||||||
|
sed -i 's/:project_version: .*/:project_version: '$VERSION'/' topics/templates/document-attributes.adoc
|
||||||
|
sed -i 's/:project_versionMvn: .*/:project_versionMvn: '$VERSION'/' topics/templates/document-attributes.adoc
|
||||||
|
sed -i 's/:project_versionNpm: .*/:project_versionNpm: '$VERSION'/' topics/templates/document-attributes.adoc
|
||||||
|
sed -i 's/:project_versionDoc: .*/:project_versionDoc: '$SHORT_VERSION'/' topics/templates/document-attributes.adoc
|
||||||
|
cd -
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue