diff --git a/db-migration-core/pom.xml b/db-migration-core/pom.xml index a189074..0b745b4 100644 --- a/db-migration-core/pom.xml +++ b/db-migration-core/pom.xml @@ -25,7 +25,7 @@ org.nanoboot.tools.dbmigration db-migration - 0.1.0-SNAPSHOT + 0.1.0 org.nanoboot.tools.dbmigration diff --git a/db-migration-test-jar/pom.xml b/db-migration-test-jar/pom.xml index ee3d257..2d84d93 100644 --- a/db-migration-test-jar/pom.xml +++ b/db-migration-test-jar/pom.xml @@ -25,7 +25,7 @@ org.nanoboot.tools.dbmigration db-migration - 0.1.0-SNAPSHOT + 0.1.0 org.nanoboot.tools.dbmigration diff --git a/pom.xml b/pom.xml index 55d712b..f18f874 100644 --- a/pom.xml +++ b/pom.xml @@ -25,22 +25,22 @@ org.nanoboot.essential nanoboot-parent - 0.1.0-SNAPSHOT + 0.1.0 org.nanoboot.tools.dbmigration db-migration - 0.1.0-SNAPSHOT + 0.1.0 pom DB Migration Tool migrating databases versions. - 0.1.0-SNAPSHOT + 0.1.0 UTF-8 true - 2.0.0-SNAPSHOT + 2.0.0 db-migration-core diff --git a/release.sh b/release.sh deleted file mode 100755 index 60f2e82..0000000 --- a/release.sh +++ /dev/null @@ -1,99 +0,0 @@ -#! /bin/bash - -set -e - -currentDir=`pwd` - -### Set, if needed: -pomParentDir=. - -stepCount=13 - -fromStepCount="/"$stepCount - -echo "### Release of new version of a Maven artifact ###" - - -read -p "Current version (to be released now, example: 1.2.3):" currentVersion -echo "Current version=" $currentVersion - -read -p "Next version (example: 1.2.3):" nextVersion -echo "Next version=" nextVersion - -echo Step : 1$fromStepCount : Deploy current snapshot to Maven repository -cd $pomParentDir -mvn clean deploy&&echo "DONE" -cd $currentDir - -echo Step : 2$fromStepCount : Delete -SNAPSHOT- all occurences in poms - -echo "Note: replace " $currentVersion-SNAPSHOT" by " $currentVersion "in all occurrences for this artifact:" -read -p "Have you deleted all the occurences (y/n)?" choice -case "$choice" in - y|Y ) echo "yes"&&echo "DONE";; - n|N ) echo "no";; - * ) echo "invalid"&&exit;; -esac - -echo Step : 3$fromStepCount : Deploy released version to Maven repository -cd $pomParentDir -mvn clean deploy&&echo "DONE" -cd $currentDir - -echo Step : 4$fromStepCount : Add the deletion to git -git add .&&echo "DONE" - - -echo Step : 5$fromStepCount : Commit the released version to git -git commit -m "Released $currentVersion"&&echo "DONE" - - -#git tag -d 0.0.0 -#git push --delete origin 0.0.0 - -echo Step : 6$fromStepCount : Tag released version -#git tag -a $currentVersion -m "$currentVersion"&&echo "DONE" -git tag $currentVersion&&echo "DONE" - - -echo Step : 7$fromStepCount : Push to git -#git push -f origin HEAD; -git push origin HEAD&&echo "DONE" - - -echo Step : 8$fromStepCount : Push new tag to git -git push origin $currentVersion&&echo "DONE" - -echo Step : 9$fromStepCount : Increase version and add -SNAPSHOST \(example: 999.999.999-SNAPSHOT\) -echo "Note: replace " $currentVersion " by " $nextVersion"-SNAPSHOT" - -read -p "Have you replaced all the occurrences (y/n)?" choice -case "$choice" in - y|Y ) echo "yes"&&echo "DONE";; - n|N ) echo "no";; - * ) echo "invalid"&&exit;; -esac - -echo Step : 10$fromStepCount : Adding the changes to git -git add .&&echo "DONE" - -echo Step : 11$fromStepCount : Commit the new snapshot version to git - -git commit -m "Released "$nextVersion"-SNAPSHOT"&&echo "DONE" - -echo Step : 12$fromStepCount : Push to git -git push origin HEAD&&echo "DONE" - - -echo Step : 13$fromStepCount : Deploy the new snapshot to Maven repository -cd $pomParentDir -mvn clean deploy&&echo "DONE" -cd $currentDir - -echo "RELEASE OF NEW VERSION $currentVersion WAS JUST FINISHED" - -echo "NOW UPDATE DATA IN OCTAGON." - -echo "EXITING SCRIPT" - -gitk --all