There will be maintenance performed on git.ligo.org, chat.ligo.org, containers.lig.org, and docs.ligo.org starting at 9am PDT on Tuesday 18th August 2020. There will be an extremely small period of downtime at the start of the maintenance window as various services are restarted. Please address any comments, questions, or concerns to computing-help@igwn.org.

Commit b894833c authored by Daniel Brown's avatar Daniel Brown

adding master branch check

parent e7e2127d
...@@ -3,6 +3,12 @@ ...@@ -3,6 +3,12 @@
platform='unknown' platform='unknown'
unamestr=`uname` unamestr=`uname`
unamem=`uname -m` 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 [[ "$unamestr" == 'Linux' ]]; then
if [[ "${ARCH}" == '32' ]]; 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