test minor

v13.4
Brett 2024-09-26 20:53:12 -04:00
parent f7c99ff088
commit 48dc7fa38c
2 changed files with 7 additions and 10 deletions

View File

@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.25)
project(COSC-4P80-Assignment-1 VERSION 13.2.0)
project(COSC-4P80-Assignment-1 VERSION 13.3.0)
option(ENABLE_ADDRSAN "Enable the address sanitizer" OFF)
option(ENABLE_UBSAN "Enable the ub sanitizer" OFF)

View File

@ -56,15 +56,12 @@ class Config:
content[idx] = c.replace("export", "").strip()
values[content[0]] = content[1].replace("\"", "").replace("'", "")
config = Config()
try:
config.branch_on_major = values["branch_on_major"].lower() == "true"
config.branch_on_minor = values["branch_on_minor"].lower() == "true"
config.release_on_major = values["release_on_major"].lower() == "true"
config.release_on_minor = values["release_on_minor"].lower() == "true"
config.main_branch = values["main_branch"]
config.patch_limit = int(values["patch_limit"])
except:
return config
return config;