aboutsummaryrefslogtreecommitdiff
path: root/bdep/release.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-05-06 22:59:51 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-05-06 22:59:51 +0300
commitafe9cf931a7cbf972c445189073a9da1ad6130e6 (patch)
tree65ac5a8ccab853ad06a7e31758b154e72f7f411e /bdep/release.cxx
parent3a72938103d0e5577aa817e047a5b1d9427421b5 (diff)
Allow stubs in bdep-release tag mode
Diffstat (limited to 'bdep/release.cxx')
-rw-r--r--bdep/release.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bdep/release.cxx b/bdep/release.cxx
index 71c6372..00c8dca 100644
--- a/bdep/release.cxx
+++ b/bdep/release.cxx
@@ -680,11 +680,11 @@ namespace bdep
standard_version v;
try
{
- // Allow stubs only in the --revision mode.
+ // Allow stubs only in the --revision and --tag modes.
//
standard_version::flags f (standard_version::none);
- if (o.revision ())
+ if (o.revision () || o.tag ())
f |= standard_version::allow_stub;
v = standard_version (vv.value, f);