diff options
author | Chris Johns <chrisj@rtems.org> | 2015-12-11 16:22:00 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2015-12-11 16:35:31 +1100 |
commit | 7dddcc26476f100bd405434595d6841be85038e9 (patch) | |
tree | 4e4ead7dd3243a112df48eb5dfa824b79101c328 /source-builder/sb/options.py | |
parent | Return after an error as a dry-run carries on. (diff) | |
download | rtems-source-builder-7dddcc26476f100bd405434595d6841be85038e9.tar.bz2 |
VERSION is an INI format file.
VERSION is an INI format file with 2 sections:
1. version
The version of the release. It contains:
release = version-string
2. hashes
A list of hashes for packages that are formed when creating a release.
A hash entry is:
file-name = hash-type checksum
The approach means we do not need to hold hash values in configuration files
which need to be updated when a release is made. The release scripts can
generate the hashes when creating the release.
Update the version to 4.12.
Diffstat (limited to 'source-builder/sb/options.py')
-rw-r--r-- | source-builder/sb/options.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source-builder/sb/options.py b/source-builder/sb/options.py index 890ae2b..ecfc5b8 100644 --- a/source-builder/sb/options.py +++ b/source-builder/sb/options.py @@ -624,6 +624,11 @@ def load(args, optargs = None, defaults = '%{_sbdir}/defaults.mc'): o.process() o.post_process() + # + # Load the release hashes + # + version.load_release_hashes(o.defaults) + return o def run(args): |