You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by na...@apache.org on 2016/01/12 15:42:05 UTC
svn commit: r11887 - /dev/jclouds/prepare_release.sh
Author: nacx
Date: Tue Jan 12 14:42:04 2016
New Revision: 11887
Log:
Fix the release script to handle the new tag convention
Modified:
dev/jclouds/prepare_release.sh
Modified: dev/jclouds/prepare_release.sh
==============================================================================
--- dev/jclouds/prepare_release.sh (original)
+++ dev/jclouds/prepare_release.sh Tue Jan 12 14:42:04 2016
@@ -109,7 +109,8 @@ for REPO in ${REPOS[@]}; do
# We don't release if there are SNAPSHOT dependencies, so we can assume that
# this will only match the current SNAPSHOT versions
find . -name pom.xml -exec sed -i '' -e "s/${CURRENT}/${RELEASE}/g" {} \;
- find . -name pom.xml -exec sed -i '' -e "s/<tag>HEAD<\/tag>/<tag>${TAG}<\/tag>/g" {} \;
+ # The tags now have a '/' character, so let's use ',' for the sed command separator
+ find . -name pom.xml -exec sed -i '' -e "s,<tag>HEAD</tag>,<tag>${TAG}</tag>,g" {} \;
mvn clean install
git add .