Skip to content
Snippets Groups Projects
Commit d1f6a323 authored by Corey Farrell's avatar Corey Farrell
Browse files

CI: Use .gitreview to default BRANCH_NAME.

This ensures that binary modules are avoided in the master branch even
if BRANCH_NAME is not set.

Change-Id: I79162d2063f22fa9d6b31fde4827ace2dd5bf0da
parent 436daa50
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,10 @@ REF_DEBUG=0 ...@@ -6,6 +6,10 @@ REF_DEBUG=0
DISABLE_BINARY_MODULES=0 DISABLE_BINARY_MODULES=0
source $CIDIR/ci.functions source $CIDIR/ci.functions
if [ -z $BRANCH_NAME ]; then
BRANCH_NAME=$(git config -f .gitreview --get gerrit.defaultbranch)
fi
gen_cats() { gen_cats() {
set +x set +x
action=$1 action=$1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment