commit script patch

main
Brett 2024-10-01 16:49:25 -04:00
parent f997305912
commit e7bfedd142
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.20) cmake_minimum_required(VERSION 3.20)
include(cmake/color.cmake) include(cmake/color.cmake)
set(BLT_VERSION 2.0.0) set(BLT_VERSION 2.0.1)
set(BLT_TARGET BLT) set(BLT_TARGET BLT)

View File

@ -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:
continue
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!')