aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrelease.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/release.py b/release.py
index 879aca4..f435701 100755
--- 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']])