Browse Source

Fixed a commit and tagging issue in the version update scripts

master
Drew Short 11 years ago
parent
commit
c522832514
  1. 2
      build/linux/createMajorRelease.sh
  2. 2
      build/linux/createMinorRelease.sh
  3. 2
      build/linux/createPatchRelease.sh

2
build/linux/createMajorRelease.sh

@ -20,7 +20,7 @@ VERSION="$major.0.0-${arr2[1]}"
mvn versions:set -DnewVersion=$VERSION mvn versions:set -DnewVersion=$VERSION
#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"
#tag the build #tag the build
git tag -a v$VERSION -m "Major Release Version $VERSION" git tag -a v$VERSION -m "Major Release Version $VERSION"

2
build/linux/createMinorRelease.sh

@ -20,7 +20,7 @@ VERSION="${arr[0]}.$minor.0-${arr2[1]}"
mvn versions:set -DnewVersion=$VERSION mvn versions:set -DnewVersion=$VERSION
#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"
#tag the build #tag the build
git tag -a v$VERSION -m "Minor Release Version $VERSION" git tag -a v$VERSION -m "Minor Release Version $VERSION"

2
build/linux/createPatchRelease.sh

@ -20,7 +20,7 @@ VERSION="${arr[0]}.${arr[1]}.$patch-${arr2[1]}"
mvn versions:set -DnewVersion=$VERSION mvn versions:set -DnewVersion=$VERSION
#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"
#tag the build #tag the build
git tag -a v$VERSION -m "Patch Release Version $VERSION" git tag -a v$VERSION -m "Patch Release Version $VERSION"

Loading…
Cancel
Save