release=""
rc=""
rebranch="no"
+projects="llvm cfe dragonegg test-suite compiler-rt libcxx clang-tools-extra polly lldb lld openmp"
base_url="https://llvm.org/svn/llvm-project"
function tag_version() {
set -x
- for proj in llvm cfe dragonegg test-suite compiler-rt libcxx clang-tools-extra ; do
+ for proj in $projects; do
if svn ls $base_url/$proj/branches/release_$release > /dev/null 2>&1 ; then
if [ $rebranch = "no" ]; then
continue
function tag_release_candidate() {
set -x
- for proj in llvm cfe dragonegg test-suite compiler-rt libcxx clang-tools-extra ; do
+ for proj in $projects ; do
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
tag_release_candidate
fi
-exit 1
+exit 0