decouple vers nr and branch name

This commit is contained in:
Bastian Schroll 2017-10-03 16:00:31 +02:00
parent acbef6591c
commit 3fed1ac12a
3 changed files with 5 additions and 2 deletions

View file

@ -162,6 +162,7 @@ try:
#
try:
logging.debug("SW Version: %s",globalVars.versionNr)
logging.debug("Branch: %s",globalVars.branch)
logging.debug("Build Date: %s",globalVars.buildDate)
logging.debug("BOSWatch given arguments")
if args.test:

View file

@ -9,8 +9,9 @@ Global variables
"""
# version info
versionNr = "2.2.2-dev"
buildDate = "in dev"
versionNr = "2.2.2"
branch = "dev"
buildDate = "unreleased"
# Global variables

View file

@ -31,6 +31,7 @@ def printHeader(args):
print " by Bastian Schroll, Jens Herrmann "
print ""
print "SW Version: "+globalVars.versionNr
print "Branch: "+globalVars.branch
print "Build Date: "+globalVars.buildDate
print ""