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.
This commit is contained in:
Chris Johns
2015-12-11 16:22:00 +11:00
parent 0661e90610
commit 7dddcc2647
2 changed files with 37 additions and 19 deletions

View File

@@ -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):