bump version and about message

This commit is contained in:
ttimo 2022-11-15 11:30:45 -06:00 committed by Timothee 'TTimo' Besset
parent b9d0a99e84
commit a050102e2a
3 changed files with 6 additions and 5 deletions

View File

@ -1 +1 @@
1.6.5
1.6.7

View File

@ -1,4 +1,4 @@
// generated header, see makeversion.py
#define RADIANT_VERSION "1.6.6"
#define RADIANT_MINOR_VERSION "6"
#define RADIANT_VERSION "1.6.7"
#define RADIANT_MINOR_VERSION "7"
#define RADIANT_MAJOR_VERSION "6"

View File

@ -1,3 +1,4 @@
#!/usr/bin/env python3
# version and about message management
# NOTE: this module is meant to be used on all platforms, it is not SCons centric
@ -23,7 +24,7 @@ def get_version():
# version
f = open('include/version.default', 'r')
buffer = f.read()
line = string.split(buffer, '\n')[0]
line = buffer.split('\n')[0]
f.close()
sys.stdout.write("version: %s\n" % line)
exp = re.compile('^1\\.([^\\.]*)\\.([0-9]*)')
@ -56,7 +57,7 @@ def radiant_makeversion(append_about):
sys.stdout.write("about message is in %s\n" % aboutfile)
f = open(aboutfile, 'r')
buffer = f.read()
line = string.split(buffer, '\n')[0]
line = buffer.split('\n')[0]
f.close()
# optional additional message
if ( not append_about is None ):