mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-07-15 00:08:11 -07:00
Force no dirty build status for multiple builds
kostili and velosipedy
This commit is contained in:
@@ -42,6 +42,13 @@ class GitVersion:
|
||||
or ""
|
||||
)
|
||||
|
||||
force_no_dirty = (
|
||||
os.environ.get("FORCE_NO_DIRTY", None)
|
||||
or ""
|
||||
)
|
||||
if (force_no_dirty != ""):
|
||||
dirty = False
|
||||
|
||||
if (custom_fz_name != "") and (len(custom_fz_name) <= 8) and (custom_fz_name.isalnum()) and (custom_fz_name.isascii()):
|
||||
return {
|
||||
"GIT_COMMIT": commit,
|
||||
|
||||
Reference in New Issue
Block a user