2017-11-09 13:28:30 +00:00
|
|
|
#!/bin/bash -e
|
|
|
|
|
|
|
|
NEW_VERSION=$1
|
|
|
|
|
2023-02-15 15:31:48 +00:00
|
|
|
# Maven
|
2017-11-09 13:28:30 +00:00
|
|
|
mvn versions:set -DnewVersion=$NEW_VERSION -DgenerateBackupPoms=false -DgroupId=org.keycloak* -DartifactId=*
|
2022-02-01 08:42:09 +00:00
|
|
|
|
2023-02-15 15:31:48 +00:00
|
|
|
# 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 -
|