From: Brian Warner Date: Fri, 20 Mar 2015 17:52:48 +0000 (-0700) Subject: Makefile: add upload-osx-pkg rule X-Git-Tag: allmydata-tahoe-1.10.1a1~58 X-Git-Url: https://git.rkrishnan.org/pf/content/flags/architecture.txt?a=commitdiff_plain;h=7846f5f9c87905768762ae494855fcbe7bdd4bb7;p=tahoe-lafs%2Ftahoe-lafs.git Makefile: add upload-osx-pkg rule --- diff --git a/Makefile b/Makefile index 8a8b5ee3..39161bcf 100644 --- a/Makefile +++ b/Makefile @@ -59,6 +59,14 @@ build-osx-pkg: build # test the result $(PYTHON) misc/build_helpers/test-osx-pkg.py +.PHONY: upload-osx-pkg +upload-osx-pkg: + @if [ "X${BB_BRANCH}" = "Xmaster" ] || [ "X${BB_BRANCH}" = "X" ]; then \ + flappclient --furlfile ~/.tahoe-osx-pkg-upload.furl upload-file tahoe-lafs-osx.pkg; \ + else \ + echo not uploading tahoe-lafs-osx-pkg because this is not trunk but is branch \"${BB_BRANCH}\" ; \ + fi + # TESTING # you can use 'make test TEST=allmydata.test.test_introducer' to run just