Author: sebb Date: Sun May 1 22:28:33 2016 New Revision: 1741903 URL: http://svn.apache.org/viewvc?rev=1741903&view=rev Log: Oops - drop the snapshot suffix
Modified: commons/scripts/create_RC_tag.sh Modified: commons/scripts/create_RC_tag.sh URL: http://svn.apache.org/viewvc/commons/scripts/create_RC_tag.sh?rev=1741903&r1=1741902&r2=1741903&view=diff ============================================================================== --- commons/scripts/create_RC_tag.sh (original) +++ commons/scripts/create_RC_tag.sh Sun May 1 22:28:33 2016 @@ -27,7 +27,10 @@ VER=$(scrapePom version | sed -n -e '2p' echo $VER | fgrep -q -- '-SNAPSHOT' || { echo "Invalid (non-SNAPSHOT) version: $VER"; exit 1; } -VERUN=$(echo $VER | sed -e 's!-SNAPSHOT!!'| tr '.' '_') +# drop the SNAPSHOT suffix +VER=$(echo $VER | sed -e 's!-SNAPSHOT!!') + +VERUN=$(echo $VER | tr '.' '_') RC=$(scrapePom commons.rc.version) @@ -53,6 +56,8 @@ mv pom.xml.tmp pom.xml || exit svn diff +read -p "Press [Enter] key to create the tag $TAGNAMERC from version $VER" + cd ${TAGS} || exit svn copy ${TAGNAMERC}_TEMP -m "Creating $TAGNAMERC tag" ${tagURL}/$TAGNAMERC