diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-11-28 11:45:10 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-11-28 11:45:10 +0000 |
commit | 64acc57b23530aee37d224f48293cb764c4290a8 (patch) | |
tree | 456a65b349333c7c2db16e4f627a1126cbb2551b /utils/release/tag.sh | |
parent | 4c0c5451c78423bcc08e23f230e912e35d11dc4d (diff) | |
download | external_llvm-64acc57b23530aee37d224f48293cb764c4290a8.zip external_llvm-64acc57b23530aee37d224f48293cb764c4290a8.tar.gz external_llvm-64acc57b23530aee37d224f48293cb764c4290a8.tar.bz2 |
Support a 'final' release candidate tag.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145243 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/release/tag.sh')
-rwxr-xr-x | utils/release/tag.sh | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/utils/release/tag.sh b/utils/release/tag.sh index d2d9911..80da47a 100755 --- a/utils/release/tag.sh +++ b/utils/release/tag.sh @@ -25,6 +25,7 @@ function usage() { echo " " echo " -release <num> The version number of the release" echo " -rc <num> The release candidate number" + echo " -final Tag final release candidate" } function tag_version() { @@ -45,10 +46,10 @@ function tag_release_candidate() { if ! svn ls $base_url/$proj/tags/RELEASE_$release > /dev/null 2>&1 ; then svn mkdir -m "Creating release directory for release_$release." $base_url/$proj/tags/RELEASE_$release fi - if ! svn ls $base_url/$proj/tags/RELEASE_$release/rc$rc > /dev/null 2>&1 ; then + if ! svn ls $base_url/$proj/tags/RELEASE_$release/$rc > /dev/null 2>&1 ; then svn copy -m "Creating release candidate $rc from release_$release branch" \ $base_url/$proj/branches/release_$release \ - $base_url/$proj/tags/RELEASE_$release/rc$rc + $base_url/$proj/tags/RELEASE_$release/$rc fi done set +x @@ -62,7 +63,10 @@ while [ $# -gt 0 ]; do ;; -rc | --rc ) shift - rc=$1 + rc="rc$1" + ;; + -final | --final ) + rc="final" ;; -h | --help | -help ) usage |