diff --git a/build.sh b/build.sh index e44ab53f9daa89d7ffaf374dfdcf0987f4bcf932..13f730596b53533d8763f1c14d9f7ecca58ead4c 100755 --- a/build.sh +++ b/build.sh @@ -9,6 +9,7 @@ comp_type=$4 branch=$5 if [ x"$branch" == x"" ]; then + echo "Getting branch from git" branch=$(git ls-remote --heads origin | grep $(git rev-parse HEAD) | cut -d / -f 3) fi