Update version.py

This commit is contained in:
RogueMaster
2022-09-16 02:48:09 -04:00
parent 6b13f177a9
commit acb4e82720

View File

@@ -41,23 +41,23 @@ class GitVersion:
os.environ.get("CUSTOM_FLIPPER_NAME", None)
or ""
)
if (custom_fz_name != "") and (len(custom_fz_name) <= 8) and (custom_fz_name.isalnum()) and (custom_fz_name.isascii()):
return {
"GIT_COMMIT": commit,
"GIT_BRANCH": branch,
"GIT_BRANCH": "dev",
"GIT_BRANCH_NUM": branch_num,
"FURI_CUSTOM_FLIPPER_NAME": custom_fz_name,
"VERSION": version,
"BUILD_DIRTY": dirty and 1 or 0,
"VERSION": "0.66.2",
"BUILD_DIRTY": 0,
}
else:
return {
"GIT_COMMIT": commit,
"GIT_BRANCH": branch,
"GIT_BRANCH": "dev",
"GIT_BRANCH_NUM": branch_num,
"VERSION": version,
"BUILD_DIRTY": dirty and 1 or 0,
"VERSION": "0.66.2",
"BUILD_DIRTY": 0,
}
def _exec_git(self, args):