#-*- mode: Makefile -*-
PROJECT=luatexja
-DIR=.
+DIR=..
VER=HEAD
all:
git commit -m 'Releases $(VER)'
git tag $(VER)
git archive --format=tar --prefix=$(PROJECT)-$(VER) $(VER) | gzip > $(DIR)/$(PROJECT)-$(VER).tar.gz
- git push origin $(VER)
- git reset --hard HEAD~
\ No newline at end of file
+ git push origin $(VER) || echo
+ git reset --hard HEAD~