github only support

main
Brett 2024-10-01 16:49:15 -04:00
parent 2cb3db9135
commit 562b2bf4cc
1 changed files with 2 additions and 0 deletions

View File

@ -199,6 +199,8 @@ def make_release(env: EnvData, name):
'X-GitHub-Api-Version': '2022-11-28'
}
for url in urls:
if not "github" in url:
return
response = requests.post(url, headers=headers, data=json.dumps(data))
if response.status_code == 201:
print('Release created successfully!')