From: Martin Mares Date: Mon, 7 Oct 2013 19:37:10 +0000 (+0200) Subject: Makefile: New release target X-Git-Tag: v1.3 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=7cde2b3481dfc523b835fa5ce4b710bf99a79a6c;p=teatimer.git Makefile: New release target --- diff --git a/Makefile b/Makefile index c71a088..2d3f30a 100644 --- a/Makefile +++ b/Makefile @@ -14,4 +14,9 @@ clean: rm -f teatimer *.o *~ release: - git archive --format=tar --prefix=teatimer-$(VERSION)/ HEAD | gzip >teatimer-$(VERSION).tar.gz + git tag v$(VERSION) + git push --tags + git archive --format=tar --prefix=teatimer-$(VERSION)/ HEAD | gzip >$(ARCHIVE) + scp $(ARCHIVE) atrey:~ftp/pub/local/mj/linux/ + ssh jw "cd www && bin/release-prog teatimer $(VERSION)" + mv $(ARCHIVE) ~/archives/mj/