keycloak-scim/set-version.sh
2021-08-06 19:49:38 +02:00

5 lines
No EOL
239 B
Bash

#!/bin/bash -e
NEW_VERSION=$1
sed -i 's/"version": .*/"version": "'$NEW_VERSION'",/' package.json
mvn --file=./keycloak-theme/pom.xml versions:set -DnewVersion=$NEW_VERSION -DgenerateBackupPoms=false -DgroupId=org.keycloak* -DartifactId=*