test
parent
23a4c5d6c9
commit
95bac2d1f8
|
@ -1,5 +1,5 @@
|
||||||
cmake_minimum_required(VERSION 3.25)
|
cmake_minimum_required(VERSION 3.25)
|
||||||
project(COSC-4P80-Assignment-1 VERSION 7.0.0)
|
project(COSC-4P80-Assignment-1 VERSION 8.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)
|
||||||
|
|
|
@ -173,12 +173,11 @@ def make_release(env: EnvData, name):
|
||||||
repos_v = open_process(["git", "remote", "-v"])[0].splitlines()
|
repos_v = open_process(["git", "remote", "-v"])[0].splitlines()
|
||||||
urls = []
|
urls = []
|
||||||
for line in repos_v:
|
for line in repos_v:
|
||||||
print(line.decode('utf8'))
|
|
||||||
origin = ''.join(itertools.takewhile(str.isalpha, line.decode('utf8')))
|
origin = ''.join(itertools.takewhile(str.isalpha, line.decode('utf8')))
|
||||||
print(f"Origin: {origin}")
|
print(f"Origin: {origin}")
|
||||||
urls.append(open_process(["git", "remote", "get-url", origin])[0])
|
urls.append(open_process(["git", "remote", "get-url", origin])[0].decode('utf8'))
|
||||||
urls = set(urls)
|
urls = set(urls)
|
||||||
print(urls)
|
print(f"Urls: {urls}")
|
||||||
data = {
|
data = {
|
||||||
'tag_name': name,
|
'tag_name': name,
|
||||||
'name': name,
|
'name': name,
|
||||||
|
|
Loading…
Reference in New Issue