Skip to content

Commit 3da5de5

Browse files
author
Daan Hoogland
committed
create a (mini-)branch instead of creating a commit to revert
1 parent dad4249 commit 3da5de5

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

tools/build/build_asf.sh

100755100644
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,11 @@ esac
102102

103103
git clean -f
104104

105+
#create a RC branch
106+
RELEASE_BRANCH="RC" + `date +%Y%m%dT%H%M`
107+
git branch $branch-$RELEASE_BRANCH
108+
109+
105110
echo 'commit changes'
106111
git commit -a -s -m "Updating pom.xml version numbers for release $version"
107112
export commitsh=`git show HEAD | head -n 1 | cut -d ' ' -f 2`
@@ -164,8 +169,4 @@ if [ "$committosvn" == "yes" ]; then
164169
svn commit -m "Committing release candidate artifacts for $version to dist/dev/cloudstack in preparation for release vote"
165170
fi
166171

167-
echo 'revert version changes'
168-
cd $sourcedir
169-
git revert --no-edit $commitsh
170-
171172
echo "completed. use commit-sh of $commitsh when starting the VOTE thread"

0 commit comments

Comments
 (0)