]> mj.ucw.cz Git - teatimer.git/blobdiff - Makefile
Makefile: New release target
[teatimer.git] / 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/