release.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 589acd80903f723af322f9ec68ea16c23efee224
Author: Jay Shaughnessy <jshaughn(a)redhat.com>
Date: Tue Jun 29 23:05:09 2010 -0400
fix conditional *again*
diff --git a/release.sh b/release.sh
index b800233..ccf6f72 100755
--- a/release.sh
+++ b/release.sh
@@ -336,7 +336,7 @@ else
BUILD_BRANCH="${RELEASE_BRANCH}-test-build"
# delete the branch if it exists, so we can recreate it fresh
EXISTING_BUILD_BRANCH=`git ls-remote --heads origin "$BUILD_BRANCH"`
- if [ -n "$EXISTING_REMOTE_TAG" ]; then
+ if [ -n "$EXISTING_BUILD_BRANCH" ]; then
echo "Deleting remote branch origin/$BUILD_BRANCH"
git branch -D -r "origin/$BUILD_BRANCH"
echo "Deleting local branch $BUILD_BRANCH"
Show replies by date