github only support
parent
2cb3db9135
commit
562b2bf4cc
|
@ -199,6 +199,8 @@ def make_release(env: EnvData, name):
|
||||||
'X-GitHub-Api-Version': '2022-11-28'
|
'X-GitHub-Api-Version': '2022-11-28'
|
||||||
}
|
}
|
||||||
for url in urls:
|
for url in urls:
|
||||||
|
if not "github" in url:
|
||||||
|
return
|
||||||
response = requests.post(url, headers=headers, data=json.dumps(data))
|
response = requests.post(url, headers=headers, data=json.dumps(data))
|
||||||
if response.status_code == 201:
|
if response.status_code == 201:
|
||||||
print('Release created successfully!')
|
print('Release created successfully!')
|
||||||
|
|
Loading…
Reference in New Issue