aboutsummaryrefslogtreecommitdiff
path: root/build2/context.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-11-28 11:03:04 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-11-28 11:03:04 +0200
commit9190569b69e34468841b18b33c98f78e66a3d26e (patch)
tree927fc02afec55b8b6d3b31f4b0abc527cdfc22f3 /build2/context.cxx
parentb71fa164192f1af8b702e1578cf202b510a9b281 (diff)
Add config.hxx.in config header, move stage status there
Diffstat (limited to 'build2/context.cxx')
-rw-r--r--build2/context.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/build2/context.cxx b/build2/context.cxx
index 10995e6..142a99d 100644
--- a/build2/context.cxx
+++ b/build2/context.cxx
@@ -477,13 +477,7 @@ namespace build2
// Note that it is either staged or public, without queued, since we do
// not re-package things during the queued-to-public transition.
//
- // Currently the value is adjusted manually during release but in the
- // future the idea is to use version metadata (e.g., 1.2.3-a.1+0.stage).
- // This way it will all be managed in a central place (manifest), we
- // can teach the version module to extract it, and we can also set it
- // for the other packages in the toolchain.
- //
- set ("build.version.stage", true);
+ set ("build.version.stage", BUILD2_STAGE);
}
// Enter the host information. Rather than jumping through hoops like