From: Brian Warner Date: Fri, 20 Mar 2015 17:52:48 +0000 (-0700) Subject: Makefile: add upload-osx-pkg rule X-Git-Url: https://git.rkrishnan.org/%5B/frontends/flags/something?a=commitdiff_plain;h=9bca2ad4ad7a09286b7eaa977718cc90451e4b2b;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