mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-14 17:42:24 +01:00
create a (mini-)branch instead of creating a commit to revert
This commit is contained in:
parent
dad4249498
commit
3da5de545e
9
tools/build/build_asf.sh
Executable file → Normal file
9
tools/build/build_asf.sh
Executable file → Normal file
@ -102,6 +102,11 @@ esac
|
||||
|
||||
git clean -f
|
||||
|
||||
#create a RC branch
|
||||
RELEASE_BRANCH="RC" + `date +%Y%m%dT%H%M`
|
||||
git branch $branch-$RELEASE_BRANCH
|
||||
|
||||
|
||||
echo 'commit changes'
|
||||
git commit -a -s -m "Updating pom.xml version numbers for release $version"
|
||||
export commitsh=`git show HEAD | head -n 1 | cut -d ' ' -f 2`
|
||||
@ -164,8 +169,4 @@ if [ "$committosvn" == "yes" ]; then
|
||||
svn commit -m "Committing release candidate artifacts for $version to dist/dev/cloudstack in preparation for release vote"
|
||||
fi
|
||||
|
||||
echo 'revert version changes'
|
||||
cd $sourcedir
|
||||
git revert --no-edit $commitsh
|
||||
|
||||
echo "completed. use commit-sh of $commitsh when starting the VOTE thread"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user