From: Jan-Pascal van Best Date: Sun, 1 Apr 2012 20:34:40 +0000 (+0200) Subject: Added --testing flag to release script to make non-official releases X-Git-Tag: 0.9.0~4 X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=0a83245cc2bbf790c8cf6eddccbb1510d6f02d39;p=tv_grab_nl_java Added --testing flag to release script to make non-official releases --- diff --git a/release.sh b/release.sh index 898fbad..5375412 100755 --- a/release.sh +++ b/release.sh @@ -2,9 +2,11 @@ VERSION=$( xsltproc pom_version.xsl pom.xml ) -if ! head Changelog | grep -q "tv_grab_nl_java-$VERSION"; then - echo "Release $VERSION not found in changelog, please update Changelog first"; - exit 1; +if [ "$1" != "--testing" ]; then + if ! head Changelog | grep -q "tv_grab_nl_java-$VERSION"; then + echo "Release $VERSION not found in changelog, please update Changelog first"; + exit 1; + fi fi tmpdir=$( mktemp -d ) || exit 1