Updated the version to show codeName which is provided by the current branch.

This commit is contained in:
Storm Dragon 2024-12-06 14:06:29 -05:00
parent 8e4cbc2fd5
commit e3a9937778
3 changed files with 4 additions and 3 deletions

View File

@ -19,7 +19,7 @@ class command():
def run(self): def run(self):
try: try:
self.env['runtime']['outputManager'].presentText(f'Fenrir screen reader version {fenrirVersion.version}', interrupt=True) self.env['runtime']['outputManager'].presentText(f'Fenrir screen reader version {fenrirVersion.version}-{fenrirVersion.codeName}', interrupt=True)
except exception as e: except exception as e:
self.env['runtime']['outputManager'].presentText(_('Version information is unavailable.'), interrupt=True) self.env['runtime']['outputManager'].presentText(_('Version information is unavailable.'), interrupt=True)

View File

@ -47,7 +47,7 @@ class fenrirManager():
parser.add_argument( parser.add_argument(
'-v', '--version', '-v', '--version',
action='version', action='version',
version=f'Fenrir screen reader version {fenrirVersion.version}', version=f'Fenrir screen reader version {fenrirVersion.version}-{fenrirVersion.codeName}',
help='Show version information and exit' help='Show version information and exit'
) )
parser.add_argument( parser.add_argument(

View File

@ -4,4 +4,5 @@
# Fenrir TTY screen reader # Fenrir TTY screen reader
# By Chrys, Storm Dragon, and contributers. # By Chrys, Storm Dragon, and contributers.
version = '2024.12' version = "2024.12.06"
codeName = "testing"