From 7cde2b3481dfc523b835fa5ce4b710bf99a79a6c Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 7 Oct 2013 21:37:10 +0200 Subject: [PATCH] Makefile: New release target --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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/ -- 2.39.2