projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fbec2c
)
Ensure target_dir has trailing separator in release.export().
author
W. Trevor King
<wking@drexel.edu>
Thu, 21 Oct 2010 12:04:02 +0000
(08:04 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Thu, 21 Oct 2010 12:04:02 +0000
(08:04 -0400)
release.py
patch
|
blob
|
history
diff --git
a/release.py
b/release.py
index 879aca42e3c25aa802a2dbf54aeccf91b1ae986a..f43570188cf49ebe204bd9acc73c9fd654ea24dc 100755
(executable)
--- a/
release.py
+++ b/
release.py
@@
-83,6
+83,8
@@
def tag(tag):
invoke(['git', 'tag', tag])
def export(target_dir):
+ if not target_dir.endswith(os.path.sep):
+ target_dir += os.path.sep
print 'export current revision to', target_dir
p = Pipe([['git', 'archive', '--prefix', target_dir, 'HEAD'],
['tar', '-xv']])