test
parent
e273715b65
commit
6e2d125d55
|
@ -1,5 +1,5 @@
|
||||||
cmake_minimum_required(VERSION 3.25)
|
cmake_minimum_required(VERSION 3.25)
|
||||||
project(COSC-4P80-Assignment-1 VERSION 10.0.0)
|
project(COSC-4P80-Assignment-1 VERSION 11.0.0)
|
||||||
|
|
||||||
option(ENABLE_ADDRSAN "Enable the address sanitizer" OFF)
|
option(ENABLE_ADDRSAN "Enable the address sanitizer" OFF)
|
||||||
option(ENABLE_UBSAN "Enable the ub sanitizer" OFF)
|
option(ENABLE_UBSAN "Enable the ub sanitizer" OFF)
|
||||||
|
|
|
@ -174,8 +174,7 @@ def make_release(env: EnvData, name):
|
||||||
urls = []
|
urls = []
|
||||||
for line in repos_v:
|
for line in repos_v:
|
||||||
origin = ''.join(itertools.takewhile(str.isalpha, line.decode('utf8')))
|
origin = ''.join(itertools.takewhile(str.isalpha, line.decode('utf8')))
|
||||||
print(f"Origin: {origin}")
|
urls.append("https://api.github.com/repos/" + open_process(["git", "remote", "get-url", origin])[0].decode('utf8').replace("\n", "").replace("https://github.com/") + "releases")
|
||||||
urls.append(open_process(["git", "remote", "get-url", origin])[0].decode('utf8').replace("\n", "") + "/releases")
|
|
||||||
urls = set(urls)
|
urls = set(urls)
|
||||||
print(f"Urls: {urls}")
|
print(f"Urls: {urls}")
|
||||||
data = {
|
data = {
|
||||||
|
|
Loading…
Reference in New Issue