Always *build* it.

Just decline to push sometimes.

This way, if it's broken, you'll see that it's broken when working on your
branch.
This commit is contained in:
Jean-Paul Calderone 2019-09-16 10:22:56 -04:00
parent 12310b43f4
commit 43610b8605

View File

@ -3,11 +3,6 @@
set -x
set -eo pipefail
if [ "${CIRCLE_BRANCH}" != "master" ]; then
echo "Declining to update dependency graph for non-master build."
exit 0
fi
TAHOE="${PWD}"
git clone -b gh-pages git@github.com:tahoe-lafs/tahoe-depgraph.git
cd tahoe-depgraph
@ -30,5 +25,10 @@ Built from ${CIRCLE_REPOSITORY_URL}@${CIRCLE_SHA1}
tahoe-depgraph was $(git rev-parse HEAD)
"
if [ "${CIRCLE_BRANCH}" != "master" ]; then
echo "Declining to update dependency graph for non-master build."
exit 0
fi
# Publish it on GitHub.
git push -q origin gh-pages