From c954bbd21112fbb2517a244fde750ff6e58cbe41 Mon Sep 17 00:00:00 2001 From: kohsuke Date: Tue, 15 Sep 2009 00:53:31 +0000 Subject: [PATCH] modified to tag the point where the RC was branched off git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21667 71c3de6d-444a-0410-be80-ed276b4c234a --- rc.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rc.sh b/rc.sh index 7ff02d1b05..ba5d9a47a7 100755 --- a/rc.sh +++ b/rc.sh @@ -37,8 +37,12 @@ fi # create the release branch repo=https://www.dev.java.net/svn/hudson RC=$repo/branches/rc +tag=$repo/tags/hudson-$(show-pom-version pom.xml | sed -e "s/-SNAPSHOT//g" -e "s/\\./_/g")-rc + svn rm -m "deleting the old RC branch" $RC -svn cp -m "creating a new RC branch" $repo/trunk/hudson/main $RC +rev=$(svn info --xml . | xmlstarlet sel -t -v /info/entry/@revision) +svn cp -m "tagging the branch point" $repo/trunk/hudson/main@$rev $tag +svn cp -m "creating a new RC branch" $repo/trunk/hudson/main@$rev $RC # update changelog.html WWW=../../www -- GitLab