summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-03-08 19:21:27 +0100
committerhut <hut@lavabit.com>2010-03-08 19:21:27 +0100
commit6ac4be61c3c701fdfca6c2f23d7060c817e82840 (patch)
treee089fdfe98b358721e07bdc40cd98c15fd7d8bef
parentea775b1c823d150ec6179a4f831ac88f86a8309d (diff)
downloadranger-6ac4be61c3c701fdfca6c2f23d7060c817e82840.tar.gz
make snapshot: changed the format of the filename
-rw-r--r--Makefile5
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
'#n145'>145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226