mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-24 23:11:33 +01:00
parent
13837ce88b
commit
8d2144895e
@ -372,7 +372,7 @@ def makeVCSRelease(id, branch):
|
|||||||
filename = randomString(10) + ".zip"
|
filename = randomString(10) + ".zip"
|
||||||
destPath = os.path.join("app/public/uploads", filename)
|
destPath = os.path.join("app/public/uploads", filename)
|
||||||
with open(destPath, "wb") as fp:
|
with open(destPath, "wb") as fp:
|
||||||
repo.archive(fp)
|
repo.archive(fp, format="zip")
|
||||||
|
|
||||||
release.url = "/uploads/" + filename
|
release.url = "/uploads/" + filename
|
||||||
print(release.url)
|
print(release.url)
|
||||||
|
Loading…
Reference in New Issue
Block a user