Commit b894833c authored by Daniel Brown's avatar Daniel Brown

adding master branch check

parent e7e2127d
......@@ -3,6 +3,12 @@
platform='unknown'
unamestr=`uname`
unamem=`uname -m`
branch=`git rev-parse --abbrev-ref HEAD`
if [[ "$branch" != 'master' ]]; then
echo !! Trying to push non-master branch to Conda !!
exit 1
fi
if [[ "$unamestr" == 'Linux' ]]; then
if [[ "${ARCH}" == '32' ]]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment