X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=Makefile.local;h=d8bbf3e17b1f90ab7a54722c0d704307037478ef;hb=37492858b61907e4728b2e68e67238c68e9a0d49;hp=bbc464d2bb982707bb8df451ca4f92b02e5dd060;hpb=83f4e5babb61e56f34d2f8baf1aa15a84cfb25a2;p=notmuch diff --git a/Makefile.local b/Makefile.local index bbc464d2..d8bbf3e1 100644 --- a/Makefile.local +++ b/Makefile.local @@ -93,6 +93,10 @@ pre-release: pristine-tar commit $(DEB_TAR_FILE) $(UPSTREAM_TAG) mkdir -p releases mv $(TAR_FILE) $(DEB_TAR_FILE) $(SHA256_FILE) $(DETACHED_SIG_FILE) releases +ifeq ($(REALLY_UPLOAD),yes) + git push origin $(UPSTREAM_TAG) release pristine-tar + cd releases && scp $(TAR_FILE) $(SHA256_FILE) $(DETACHED_SIG_FILE) $(RELEASE_HOST):$(RELEASE_DIR) +endif .PHONY: debian-snapshot debian-snapshot: