summaryrefslogtreecommitdiffstats
path: root/source-builder/sb/reports.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2019-11-17 16:39:43 +1100
committerChris Johns <chrisj@rtems.org>2019-11-18 11:29:45 +1100
commit5f7c53a7bd5845a54ba1ad4776ac92324ef2f184 (patch)
tree58183c0803419944d78151b749eb483174282337 /source-builder/sb/reports.py
parentrtems: Fix kernel and tools release source package selection. (diff)
downloadrtems-source-builder-5f7c53a7bd5845a54ba1ad4776ac92324ef2f184.tar.bz2
sb: Align the version processing with rtems-tools.
- Use the same VERSION file format as rtems-tools so a common release generation can be used. - The version.py is almost the same as rtems-tools. There are some minor differences, one is the RTEMS version is present in this file while rtems-tool uses config/rtems-release.ini. Updates #3822
Diffstat (limited to 'source-builder/sb/reports.py')
-rw-r--r--source-builder/sb/reports.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source-builder/sb/reports.py b/source-builder/sb/reports.py
index 9d3a342..86a4c3a 100644
--- a/source-builder/sb/reports.py
+++ b/source-builder/sb/reports.py
@@ -645,7 +645,7 @@ class report:
pass
def release_status(self):
- self.formatter.release_status(version.str())
+ self.formatter.release_status(version.string())
def git_status(self):
r = git.repo('.', self.opts, self.macros)
@@ -896,7 +896,7 @@ def run(args):
opts = options.load(args, optargs, logfile = False)
if opts.get_arg('--output') and len(opts.params()) > 1:
raise error.general('--output can only be used with a single config')
- print('RTEMS Source Builder, Reporter, %s' % (version.str()))
+ print('RTEMS Source Builder, Reporter, %s' % (version.string()))
opts.log_info()
if not check.host_setup(opts):
log.warning('forcing build with known host setup problems')