Skip to content

Commit c0caea5

Browse files
committed
Fix upload script for new directory changes
1 parent 2ff267e commit c0caea5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/upload_release.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def main():
2828

2929
password = getpass.getpass('Password:')
3030

31-
zip_files = glob('*.zip')
31+
zip_files = glob('Web2ExeBuild/*.zip')
3232
file_names = set([os.path.basename(zip_file) for zip_file in zip_files])
3333

3434
if req.status_code == 200:
@@ -63,7 +63,8 @@ def main():
6363
'target_commitish': 'master',
6464
'name': 'Web2Executable ' + version}
6565

66-
post_res = requests.post(base_url, data=json.dumps(data), auth=(github_user, password))
66+
post_res = requests.post(base_url, data=json.dumps(data),
67+
auth=(github_user, password))
6768

6869
if post_res.status_code == 201:
6970
json_data = json.loads(post_res.text)

0 commit comments

Comments
 (0)