|
@@ -10,10 +10,10 @@ It performs the following actions:
|
|
|
import os
|
|
|
import sys
|
|
|
import pickle
|
|
|
-import requests
|
|
|
import json
|
|
|
-from requests.exceptions import ConnectionError as ConnError
|
|
|
from subprocess import call
|
|
|
+import requests
|
|
|
+from requests.exceptions import ConnectionError as ConnError
|
|
|
|
|
|
|
|
|
ETAGFILE = "etags"
|
|
@@ -135,8 +135,6 @@ def update_verinfo(info):
|
|
|
def main():
|
|
|
print("Updating local repository")
|
|
|
call(["gin", "download", "--content"])
|
|
|
- print("Unlocking file content")
|
|
|
- call(["gin", "unlock", "."])
|
|
|
load_etags()
|
|
|
dlfiles = []
|
|
|
avinfo = get_appveyor_info()
|
|
@@ -144,7 +142,6 @@ def main():
|
|
|
print(f"Latest build message: {avinfo['message']}")
|
|
|
if not len(artifacts):
|
|
|
print("No artifacts in current build. Perhaps it is still running?")
|
|
|
- call(["gin", "lock", "."])
|
|
|
sys.exit("aborting")
|
|
|
print(f"Found {len(artifacts)} artifacts")
|
|
|
for url in artifacts:
|