keycloak-scim/set-version.sh
Alexander Schwartz 4dcb819c06 Moving docs to new folder
CIAM-5056
2023-03-20 09:07:58 +01:00

14 lines
No EOL
355 B
Bash
Executable file

#!/bin/bash -e
NEW_VERSION=$1
# Maven
mvn versions:set -DnewVersion=$NEW_VERSION -DgenerateBackupPoms=false -DgroupId=org.keycloak* -DartifactId=*
# 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 -