Skip to content

Commit

Permalink
Fix set-version script
Browse files Browse the repository at this point in the history
  • Loading branch information
stianst committed Dec 10, 2021
1 parent 56f1789 commit e46e140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion set-version.sh
Expand Up @@ -2,7 +2,7 @@

NEW_VERSION=$1

LATEST_KEYCLOAK_VERSION=`curl -s "http://search.maven.org/solrsearch/select?q=g:org.keycloak%20AND%20a:keycloak-parent&rows=1&wt=json" | jq -r .response.docs[0].latestVersion`
LATEST_KEYCLOAK_VERSION=`curl -s https://api.github.com/repos/keycloak/keycloak/releases/latest | jq -r .tag_name`

mvn versions:update-parent -Dversion.keycloak=$LATEST_KEYCLOAK_VERSION -DparentVersion=$NEW_VERSION -DgenerateBackupPoms=false -Pbump-version
mvn versions:set -Dversion.keycloak=$LATEST_KEYCLOAK_VERSION -DnewVersion=$NEW_VERSION -DgenerateBackupPoms=false -DgroupId=org.keycloak* -DartifactId=* -Pbump-version
Expand Down

0 comments on commit e46e140

Please sign in to comment.