From: Zooko O'Whielacronx Date: Sat, 19 Jun 2010 03:49:28 +0000 (-0700) Subject: setup: in the Makefile, refuse to upload tarballs unless someone has passed the envir... X-Git-Url: https://git.rkrishnan.org/vdrive/install-details.html?a=commitdiff_plain;h=f5917cd6b8fdfd377116b990f05a05cef66b085d;p=tahoe-lafs%2Ftahoe-lafs.git setup: in the Makefile, refuse to upload tarballs unless someone has passed the environment variable "BB_BRANCH" with value "trunk" --- diff --git a/Makefile b/Makefile index 0bd474b7..3e4be601 100644 --- a/Makefile +++ b/Makefile @@ -285,9 +285,7 @@ tarballs: $(PYTHON) setup.py sdist --sumo --formats=bztar,gztar,zip upload-tarballs: - for f in dist/allmydata-tahoe-*; do \ - flappclient --furlfile ~/.tahoe-tarball-upload.furl upload-file $$f; \ - done + @if [ "X${BB_BRANCH}" == "Xtrunk" ]; then for f in dist/allmydata-tahoe-*; do flappclient --furlfile ~/.tahoe-tarball-upload.furl upload-file $$f; done ; else echo not uploading tarballs because this is not trunk but is branch \"${BB_BRANCH}\" ; fi # DEBIAN PACKAGING