Moved to semver

This commit is contained in:
computergeek125 2021-03-22 00:05:45 -05:00
parent 97558e5828
commit 680cb1885e
2 changed files with 5 additions and 3 deletions

View File

@ -154,9 +154,10 @@ class Helpers:
version_data = self.get_version() version_data = self.get_version()
# set some defaults if we don't get version_data from our helper # set some defaults if we don't get version_data from our helper
version = "{}.{}.{}".format(version_data.get('major', '?'), version = "{}.{}.{}-{}".format(version_data.get('major', '?'),
version_data.get('minor', '?'), version_data.get('minor', '?'),
version_data.get('sub', '?')) version_data.get('sub', '?'),
version_data.get('patch', '?'))
return str(version) return str(version)
def do_exit(self): def do_exit(self):

View File

@ -1,5 +1,6 @@
{ {
"major": 4, "major": 4,
"minor": 0, "minor": 0,
"sub": "Alpha 2+noshell" "sub": 0,
"meta": "alpha.2"
} }