release.sh in killbill-paypal-express-1.7.0 vs release.sh in killbill-paypal-express-1.7.1

- old
+ new

@@ -1,32 +1,32 @@ set -e -if [ "GNU" != "$(tar --help | grep GNU | head -1 | awk '{print $1}')" ]; then - echo "Unable to release: make sure to use GNU tar" +if [ 'GNU' != "$(tar --help | grep GNU | head -1 | awk '{print $1}')" ]; then + echo 'Unable to release: make sure to use GNU tar' exit 1 fi if $(ruby -e'require "java"'); then # Good - echo "Detected JRuby" + echo 'Detected JRuby' else - echo "Unable to release: make sure to use JRuby" + echo 'Unable to release: make sure to use JRuby' exit 1 fi 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" + echo 'Unable to release: make sure the versions in pom.xml and VERSION match' exit 1 fi -echo "Cleaning up" +echo 'Cleaning up' rake killbill:clean ; rake build -echo "Pushing the gem to Rubygems" +echo 'Pushing the gem to Rubygems' rake release -echo "Building artifact" +echo 'Building artifact' rake killbill:package ARTIFACT="$PWD/pkg/killbill-paypal-express-$VERSION.tar.gz" echo "Pushing $ARTIFACT to Maven Central" mvn gpg:sign-and-deploy-file \