Fixed package.py --src-pkg

Make it use "git archive" instead of "hg archive".
This commit is contained in:
Virgil Dupras 2013-06-23 09:36:44 -04:00
parent 3ef1281450
commit 60701c2a5c
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ def package_source_tgz(edition):
app_version = get_module_version('core_{}'.format(edition))
name = 'dupeguru-{}-src-{}.tar.gz'.format(edition, app_version)
dest = op.join('build', name)
print_and_do('hg archive -t tgz -S {}'.format(dest))
print_and_do('git archive -o {} HEAD'.format(dest))
def main():
args = parse_args()