From 3641bf1ec4e46d0c092b98d72589c24edaf644e8 Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Thu, 26 Sep 2024 20:32:30 -0400 Subject: [PATCH] test --- CMakeLists.txt | 2 +- commit.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f8f964f..eeda7b9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.25) -project(COSC-4P80-Assignment-1 VERSION 11.0.0) +project(COSC-4P80-Assignment-1 VERSION 12.0.0) option(ENABLE_ADDRSAN "Enable the address sanitizer" OFF) option(ENABLE_UBSAN "Enable the ub sanitizer" OFF) diff --git a/commit.py b/commit.py index a938d6c..5abacd1 100755 --- a/commit.py +++ b/commit.py @@ -174,7 +174,7 @@ def make_release(env: EnvData, name): urls = [] for line in repos_v: origin = ''.join(itertools.takewhile(str.isalpha, line.decode('utf8'))) - 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("https://api.github.com/repos/" + open_process(["git", "remote", "get-url", origin])[0].decode('utf8').replace("\n", "").replace("https://github.com/", "") + "releases") urls = set(urls) print(f"Urls: {urls}") data = {