From 9bca2ad4ad7a09286b7eaa977718cc90451e4b2b Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Fri, 20 Mar 2015 10:52:48 -0700 Subject: [PATCH] Makefile: add upload-osx-pkg rule --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.45.2