Author: ppitonak(a)redhat.com
Date: 2011-10-31 10:22:18 -0400 (Mon, 31 Oct 2011)
New Revision: 22849
Modified:
modules/tests/metamer/trunk/release.sh
Log:
release script updated because of different parent
Modified: modules/tests/metamer/trunk/release.sh
===================================================================
--- modules/tests/metamer/trunk/release.sh 2011-10-31 14:19:34 UTC (rev 22848)
+++ modules/tests/metamer/trunk/release.sh 2011-10-31 14:22:18 UTC (rev 22849)
@@ -3,7 +3,7 @@
echo "Project defines following version of RichFaces: ${RICHFACES_VERSION}"
echo $RICHFACES_VERSION | egrep -q '\-SNAPSHOT$' && { echo "The
project cannot depend on SNAPSHOT version, correct the version first and try again.";
exit 2; }
-perl -e 'open (FILE, "<", "pom.xml"); local $/;
$file=<FILE>; close (FILE); if ($file !~
m#\>'$RICHFACES_VERSION'\<\/version\>\s+\<\/parent\>#sg) { exit 1
}' || { echo "The project parent have to be same version like RichFaces
version"; exit 3; }
+#perl -e 'open (FILE, "<", "pom.xml"); local $/;
$file=<FILE>; close (FILE); if ($file !~
m#\>'$RICHFACES_VERSION'\<\/version\>\s+\<\/parent\>#sg) { exit 1
}' || { echo "The project parent have to be same version like RichFaces
version"; exit 3; }
echo "Is this version correct?"
read -p 'Press ENTER to continue or Ctrl+C for exit...'
read -p 'Enter release version: ' RELEASE
Show replies by thread