1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00
wting_autojump/Makefile

14 lines
375 B
Makefile
Raw Normal View History

.PHONY: release
autojump: autojump.py
./git-version.sh
version=`git describe $$(git rev-list --tags --max-count=1)`
number=`git describe $$(git rev-list --tags --max-count=1) | sed "s/^[a-z]*-//"`
release:
echo $(TAG)
@echo NOTE: make sure you\'re on a tagged commit
git archive --format=tar --prefix autojump_$(number)/ $(version) | gzip > autojump_$(number).tar.gz