From: Martin Mares Date: Sat, 17 Jul 2010 21:27:46 +0000 (+0200) Subject: Tag releases automatically X-Git-Tag: v1.0 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;p=siplog.git Tag releases automatically --- diff --git a/Makefile b/Makefile index f9f76a1..f541549 100644 --- 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)"