diff options
author | W. Trevor King <wking@drexel.edu> | 2010-10-21 08:04:02 -0400 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2010-10-21 08:04:02 -0400 |
commit | e4bfbcca9a0a5a6985f72acc812698e89a9b3efe (patch) | |
tree | 0a36ad4039a4d3069e523b95fc1fe49649006069 /release.py | |
parent | 8fbec2c7e023edde80be382c4c6f716dc8049420 (diff) | |
download | bugseverywhere-e4bfbcca9a0a5a6985f72acc812698e89a9b3efe.tar.gz |
Ensure target_dir has trailing separator in release.export().
Diffstat (limited to 'release.py')
-rwxr-xr-x | release.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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']]) |