mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-10 01:23:48 +01:00
Include mod name as prefix to zips created by git-archive-all
This commit is contained in:
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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user