Skip to content

Commit

Permalink
Prepare for 4.7.0.Final
Browse files Browse the repository at this point in the history
  • Loading branch information
stianst committed Nov 14, 2018
1 parent 7ca27c0 commit 1980189
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "keycloak-connect",
"version": "4.6.0-final",
"version": "4.7.0"
"description": "Keycloak Connect Middleware",
"homepage": "http://keycloak.org",
"main": "index.js",
Expand Down
2 changes: 1 addition & 1 deletion product/pom.xml
Expand Up @@ -9,7 +9,7 @@

<groupId>org.keycloak</groupId>
<artifactId>keycloak-connect</artifactId>
<version>4.6.0.Final</version>
<version>4.7.0</version>
<packaging>pom</packaging>

<name>Keycloak Connect Middleware</name>
Expand Down
7 changes: 7 additions & 0 deletions set-version.sh
@@ -0,0 +1,7 @@
#!/bin/bash -e

VERSION=$1
NPM_VERSION=`echo $VERSION | sed 's/.Final//' | sed 's/.CR/-cr./' | sed 's/.Beta/-beta./' | sed 's/.Alpha/-alpha./'`

sed -i 's/"version": .*/"version": "'$NPM_VERSION'"/' package.json
mvn -f product/pom.xml versions:set -DnewVersion=$NPM_VERSION -DgenerateBackupPoms=false

0 comments on commit 1980189

Please sign in to comment.