Include mod name as prefix to zips created by git-archive-all

This commit is contained in:
rubenwardy 2020-12-29 20:42:43 +00:00
parent d772f157eb
commit afb699f8d3

@ -222,7 +222,7 @@ def makeVCSRelease(self, id, branch):
destPath = os.path.join(app.config["UPLOAD_DIR"], filename)
assert(not os.path.isfile(destPath))
archiver = GitArchiver(force_sub=True, main_repo_abspath=repo.working_tree_dir)
archiver = GitArchiver(prefix=release.package.name, force_sub=True, main_repo_abspath=repo.working_tree_dir)
archiver.create(destPath)
assert(os.path.isfile(destPath))