release.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 06aa97965240fd3237bda9cc4bde934e89ce4be3
Author: Stefan Negrea <snegrea(a)redhat.com>
Date: Fri Sep 30 10:44:11 2011 -0500
Make an explicit call to pull the release branch and not the entire repo.
diff --git a/release.sh b/release.sh
index e0fb98a..5b40aa5 100755
--- a/release.sh
+++ b/release.sh
@@ -254,7 +254,7 @@ if [ "$GIT_STATUS_EXIT_CODE" -le 1 ]; then
[ "$?" -ne 0 ] && abort "Failed to reset release branch
($RELEASE_BRANCH)."
git clean -dxf
[ "$?" -ne 0 ] && abort "Failed to clean release branch
($RELEASE_BRANCH)."
- git pull
+ git pull origin $RELEASE_BRANCH
[ "$?" -ne 0 ] && abort "Failed to update release branch
($RELEASE_BRANCH)."
else
echo "$WORKING_DIR does not appear to be a git working directory ('git
status' returned $GIT_STATUS_EXIT_CODE) - removing it so we can freshly clone the
repo..."
Show replies by date