diff options
author | hut <hut@lavabit.com> | 2010-03-08 19:21:27 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-03-08 19:21:27 +0100 |
commit | 6ac4be61c3c701fdfca6c2f23d7060c817e82840 (patch) | |
tree | e089fdfe98b358721e07bdc40cd98c15fd7d8bef /Makefile | |
parent | ea775b1c823d150ec6179a4f831ac88f86a8309d (diff) | |
download | ranger-6ac4be61c3c701fdfca6c2f23d7060c817e82840.tar.gz |
make snapshot: changed the format of the filename
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile index 0d307907..feef0bf0 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ NAME = ranger +VERSION = 1.0.3 PYTHON = python DOCDIR = doc/pydoc CWD = $(shell pwd) @@ -55,7 +56,7 @@ commit: test @git citool snapshot: - git archive HEAD | gzip > $(NAME)-$(shell git rev-list HEAD | head -n 1 | cut -b 1-16).tar.gz + git archive HEAD | gzip > $(NAME)-$(VERSION)-$(shell git rev-list HEAD | head -n 1 | cut -b 1-8).tar.gz minimal_snapshot: @echo 'This is not quite working well. I will abort now' && false @@ -65,6 +66,6 @@ minimal_snapshot: git rm all_tests.py git rm TODO git commit -a -m'removed documentation' - git archive HEAD | gzip > $(NAME)-$(shell git rev-list HEAD | head -n 1 | cut -b 1-16).tar.gz + git archive HEAD | gzip > $(NAME)-$(VERSION)-$(shell git rev-list HEAD | head -n 1 | cut -b 1-8).tar.gz git reset --hard no_help^ git branch -D no_help |