Browse Source

Fixed some additional small issues with the version updating build scripts

master
Drew Short 11 years ago
parent
commit
4dfc50c13c
  1. 2
      README.md
  2. 9
      build/linux/createMajorRelease.sh
  3. 10
      build/linux/createMinorRelease.sh
  4. 9
      build/linux/createPatchRelease.sh

2
README.md

@ -1,4 +1,4 @@
ImageTools v0.1.0-DEV
ImageTools v0.1.1-DEV
========== ==========
http://imagetools.sothr.com http://imagetools.sothr.com
---------- ----------

9
build/linux/createMajorRelease.sh

@ -19,6 +19,10 @@ VERSION="$major.0.0-${arr2[1]}"
#update the POM #update the POM
mvn versions:set -DnewVersion=$VERSION mvn versions:set -DnewVersion=$VERSION
cd $HOME
. createBuildRelease.sh
cd ../..
#commit the new patch version #commit the new patch version
git commit -a -m "Creating major version $VERSION" git commit -a -m "Creating major version $VERSION"
@ -27,8 +31,3 @@ git tag -a v$VERSION -m "Major Release Version $VERSION"
#push the build and tag #push the build and tag
git push --follow-tags git push --follow-tags
cd $HOME
. build.sh
cd $HOME
. package.sh

10
build/linux/createMinorRelease.sh

@ -19,6 +19,11 @@ VERSION="${arr[0]}.$minor.0-${arr2[1]}"
#update the POM #update the POM
mvn versions:set -DnewVersion=$VERSION mvn versions:set -DnewVersion=$VERSION
#Build the new version and make the necessary changes
cd $HOME
. createBuildRelease.sh
cd ../..
#commit the new patch version #commit the new patch version
git commit -a -m "Creating minor version $VERSION" git commit -a -m "Creating minor version $VERSION"
@ -27,8 +32,3 @@ git tag -a v$VERSION -m "Minor Release Version $VERSION"
#push the build and tag #push the build and tag
git push --follow-tags git push --follow-tags
cd $HOME
. build.sh
cd $HOME
. package.sh

9
build/linux/createPatchRelease.sh

@ -19,6 +19,10 @@ VERSION="${arr[0]}.${arr[1]}.$patch-${arr2[1]}"
#update the POM #update the POM
mvn versions:set -DnewVersion=$VERSION mvn versions:set -DnewVersion=$VERSION
cd $HOME
. createBuildRelease.sh
cd ../..
#commit the new patch version #commit the new patch version
git commit -a -m "Creating patch version $VERSION" git commit -a -m "Creating patch version $VERSION"
@ -27,8 +31,3 @@ git tag -a v$VERSION -m "Patch Release Version $VERSION"
#push the build and tag #push the build and tag
git push --follow-tags git push --follow-tags
cd $HOME
. build.sh
cd $HOME
. package.sh
Loading…
Cancel
Save