]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Makefile: add upload-osx-pkg rule
authorBrian Warner <warner@lothar.com>
Fri, 20 Mar 2015 17:52:48 +0000 (10:52 -0700)
committerBrian Warner <warner@lothar.com>
Fri, 20 Mar 2015 17:52:48 +0000 (10:52 -0700)
Makefile

index 8a8b5ee3f4d424a8951b3a2f72d62483d295b72c..39161bcfa8484680589992f6ecf3c8b34b43b2c1 100644 (file)
--- 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