From 23a4c5d6c954cd3ad4a0656e8f435126fa273cc1 Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Thu, 26 Sep 2024 20:24:40 -0400 Subject: [PATCH] test --- CMakeLists.txt | 2 +- commit.py | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 005dbab..9388df4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.25) -project(COSC-4P80-Assignment-1 VERSION 6.0.0) +project(COSC-4P80-Assignment-1 VERSION 7.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 167516d..304236d 100755 --- a/commit.py +++ b/commit.py @@ -171,11 +171,10 @@ def make_branch(config: Config, name): def make_release(env: EnvData, name): print(f"Making new release {name}") repos_v = open_process(["git", "remote", "-v"])[0].splitlines() - print(repos_v) - exit(0) urls = [] for line in repos_v: - origin = ''.join(itertools.takewhile(str.isalpha, line)) + print(line.decode('utf8')) + origin = ''.join(itertools.takewhile(str.isalpha, line.decode('utf8'))) print(f"Origin: {origin}") urls.append(open_process(["git", "remote", "get-url", origin])[0]) urls = set(urls)