summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <edward@collabora.com>2014-07-28 09:02:33 +0200
committerEdward Hervey <edward@collabora.com>2014-07-28 09:03:48 +0200
commit1f6ade3f93f1477d344c4962a3f409b3d5a7bacf (patch)
treeb1d4397a633696e1efd9fb26fdc038107dde3726
parentff6a2e8fbfb401a7fe08f11201077a1a328b5678 (diff)
commit-repo-tag: Add support to specify tag branch
Allows handling several different branches
-rwxr-xr-xcommit-repo-tag.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/commit-repo-tag.sh b/commit-repo-tag.sh
index 2ea337a..6fe0677 100755
--- a/commit-repo-tag.sh
+++ b/commit-repo-tag.sh
@@ -15,7 +15,10 @@
# Important: repo sync should have been done before
# Build branch where new manifest will be stored
-BUILD_BRANCH=jenkins-build-branch
+if [-z $BUILD_BRANCH ];
+then
+ BUILD_BRANCH=jenkins-build-branch
+fi
# The default manifest file name
MANIFEST_FILENAME=default.xml