Sha256: 6f6ea430f375cd9b042a7d86987e70e679e9edba2285cbe5ca3113e87d09d4f4
Contents?: true
Size: 805 Bytes
Versions: 1
Compression:
Stored size: 805 Bytes
Contents
set -e VERSION=`grep -E '<version>([0-9]+\.[0-9]+\.[0-9]+)</version>' pom.xml | sed 's/[\t \n]*<version>\(.*\)<\/version>[\t \n]*/\1/'` if [ "$VERSION" != "$(cat $PWD/VERSION)" ]; then echo "Unable to release: make sure the versions in pom.xml and VERSION match" exit 1 fi echo "Cleaning up" rake killbill:clean ; rake build echo "Pushing the gem to Rubygems" rake release echo "Building artifact" rake killbill:package ARTIFACT="$PWD/pkg/killbill-litle-$VERSION.tar.gz" echo "Pushing $ARTIFACT to Maven Central" mvn gpg:sign-and-deploy-file \ -DgroupId=com.ning.killbill.ruby \ -DartifactId=litle-plugin \ -Dversion=$VERSION \ -Dpackaging=tar.gz \ -DrepositoryId=ossrh-releases \ -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ \ -Dfile=$ARTIFACT
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
killbill-litle-1.0.3 | release.sh |