Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: cdc79b7542
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (20 sloc) 0.6 kb
SNAPSHOT=$1
VERSION=$2
NEXT=$3
if [ "x" = "x"$2 ] ; then
echo "usage: $0 SNAPHOT_VERSION VERSION NEXT_VERSION"
exit 1
fi
mvn clean install
mvn3 -P maven3 clean install
jruby -S rake clean compile spec
find -name "pom.xml" | xargs sed -i s/${SNAPSHOT}-SNAPSHOT/${VERSION}/
find -name "pom.xml" | xargs git add
git ci -m "release of version ${VERSION}" || exit
git tag v${VERSION}
mvn clean deploy
find -name "pom.xml" | xargs sed -i s/${VERSION}/${NEXT}-SNAPSHOT/
find -name "pom.xml" | xargs git add
git ci -m "next snapshot version ${NEXT}"
mvn install
git push --tags origin master
Jump to Line
Something went wrong with that request. Please try again.