aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorlloyd <[email protected]>2013-03-04 21:29:17 +0000
committerlloyd <[email protected]>2013-03-04 21:29:17 +0000
commitadce60ae4e4fa0b36bd032e2afe77094f5897161 (patch)
treecaa0c4f575fad9784a11e390f1d572c1404806d0 /configure.py
parent404c6f0cc0fa42ff835b8b082478b1c43044c1af (diff)
Set the release type (unreleased, released, snapshot) in
botan_version.py via the release script, and propagate it to version.cpp via build.h
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.py b/configure.py
index 980b22684..957932ceb 100755
--- a/configure.py
+++ b/configure.py
@@ -77,6 +77,8 @@ class BuildConfigurationInformation(object):
version_patch = botan_version.release_patch
version_so_rev = botan_version.release_so_abi_rev
+ version_release_type = botan_version.release_type
+
version_datestamp = botan_version.release_datestamp
version_vc_rev = botan_version.release_vc_rev
@@ -1096,6 +1098,8 @@ def create_template_vars(build_config, options, modules, cc, arch, osinfo):
'so_abi_rev': build_config.version_so_rev,
'version': build_config.version_string,
+ 'release_type': build_config.version_release_type,
+
'distribution_info': options.distribution_info,
'version_datestamp': build_config.version_datestamp,