keycloak-scim/set-version.sh

5 lines
239 B
Bash
Raw Normal View History

2021-08-06 17:49:38 +00:00
#!/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=*