Commit a7d0cb83 authored by Richard Mansfield's avatar Richard Mansfield

Don't push .pots to launchpad if this is only a dev instance

parent 6eb6e910
......@@ -166,8 +166,12 @@ for branch in ${branches} ; do
fi
# Push everything to lp:mahara-lang
bzr push lp:~mahara-lang/mahara-lang/${branch}
# Push everything to lp:mahara-lang, if this is the prod instance.
if [ "${WWWROOT}" = 'http://langpacks.mahara.org' ]; then
bzr push lp:~mahara-lang/mahara-lang/${branch}
else
echo "Not pushing to lp:~mahara-lang/mahara-lang/${branch}"
fi
fi
cd ${GITDIR}
......
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