]> mj.ucw.cz Git - teatimer.git/commitdiff
Makefile: New release target v1.3
authorMartin Mares <mj@ucw.cz>
Mon, 7 Oct 2013 19:37:10 +0000 (21:37 +0200)
committerMartin Mares <mj@ucw.cz>
Mon, 7 Oct 2013 19:38:30 +0000 (21:38 +0200)
Makefile

index c71a088849e5ac61d3870f49ecd0338828b955cf..2d3f30aa0143a6715577369a1efa911ab1384bab 100644 (file)
--- 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/