]> mj.ucw.cz Git - siplog.git/blobdiff - Makefile
Tag releases automatically
[siplog.git] / Makefile
index f9f76a1e9a9b0b47458242deb0170f1d9a0ae1ee..f541549ee0690e920782510f7dbf2b98339b6641 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -16,6 +16,8 @@ clean:
        rm -f siplog.so
 
 release:
+       git tag v$(VERSION)
+       git push --tags
        git archive --format=tar --prefix=siplog-$(VERSION)/ HEAD | gzip >$(ARCHIVE)
        scp $(ARCHIVE) atrey:~ftp/pub/local/mj/net/
        ssh jw "cd www && bin/release-prog siplog $(VERSION)"