]> mj.ucw.cz Git - git-tools.git/blob - Makefile
Makefile: Fixed release machinery
[git-tools.git] / Makefile
1 VERSION=1.1
2 ARCHIVE=git-tools-$(VERSION).tar.gz
3
4 all:
5
6 release:
7         git tag v$(VERSION)
8         git push --tags
9         git archive --format=tar --prefix=git-tools-$(VERSION)/ HEAD | gzip >$(ARCHIVE)
10         scp $(ARCHIVE) atrey:~ftp/pub/local/mj/linux/
11         ssh jw "cd web && bin/release-prog git-tools $(VERSION)"
12         mv $(ARCHIVE) ~/archives/mj/