test minor
parent
f7c99ff088
commit
48dc7fa38c
|
@ -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)
|
||||
|
|
15
commit.py
15
commit.py
|
@ -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
|
||||
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"])
|
||||
|
||||
return config;
|
||||
|
||||
|
|
Loading…
Reference in New Issue