From 4808bf3cbd07d14e57a845ae4b233ca94d1c5b52 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 30 Jun 2018 12:17:27 +0100 Subject: [PATCH] Remove set-version.sh --- set-version.sh | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 set-version.sh diff --git a/set-version.sh b/set-version.sh deleted file mode 100644 index f882f33..0000000 --- a/set-version.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env bash - -cd `dirname $0` -PROJECT=`basename $PWD` - -if test $# != 1 -then - echo "next version missing" - exit -fi - -CURRENT=`grep -C 2 "${PROJECT}" pom.xml | grep '' | sed 's/.*>\(.*\)<.*/\1/'` -NEXT=$1 - -echo Updating version from $CURRENT to $NEXT - -./mvnw versions:set -DnewVersion=$NEXT -./mvnw -pl parent versions:set -DnewVersion=$NEXT -perl -p -i -e "s,$CURRENT