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…
x
Reference in New Issue
Block a user