From: Martin Mares Date: Tue, 24 Jul 2012 16:57:24 +0000 (+0200) Subject: Released as v1.0 X-Git-Tag: v1.0~8 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=6baa81ad99d137c78768dd30a1775c5afa6f210a;p=xsv.git Released as v1.0 --- diff --git a/Makefile b/Makefile index 80eeeeb..a63f72c 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ VERSION=1.0 +ARCHIVE=xsv-$(VERSION).tar.gz PCRE_CFLAGS:=$(shell pcre-config --cflags) PCRE_LIBS:=$(shell pcre-config --libs) @@ -18,3 +19,11 @@ clean: rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name .depend -or -name .#*` rm -f xsv xsv.1 rm -rf tmp + +release: + git tag v$(VERSION) + git push --tags + git archive --format=tar --prefix=xsv-$(VERSION)/ HEAD | gzip >$(ARCHIVE) + scp $(ARCHIVE) atrey:~ftp/pub/local/mj/linux/ + ssh jw "cd www && bin/release-prog xsv $(VERSION)" + mv $(ARCHIVE) ~/archives/mj/