diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-01-25 11:54:14 +0200 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-01-26 15:38:54 +0300 |
commit | 670a3115c1dd5a285d273d39bd38f466f06dde7c (patch) | |
tree | cb8994b3d13ea04c7a3a2a50a4fad6666fe4d45f /bdep/release.cli | |
parent | 698bbc675764f3aec648aa242a99e89859065454 (diff) |
Add --open-base option to bdep-release
Diffstat (limited to 'bdep/release.cli')
-rw-r--r-- | bdep/release.cli | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bdep/release.cli b/bdep/release.cli index 12210d1..dd919fa 100644 --- a/bdep/release.cli +++ b/bdep/release.cli @@ -160,6 +160,19 @@ namespace bdep "Open the development cycle with the next major version." } + // We are using string instead of standard_version because its constructor + // is too loose for our needs which means we have to do extra validations + // anyway (pre-release, etc). + // + string --open-base + { + "<version>", + "Open the development cycle with the specified version. The base version + should be in the \c{\i{major}\b{.}\i{minor}\c{.}\i{patch}} form with + the opened version becoming + \c{\i{major}\b{.}\i{minor}\b{.}\i{patch}\b{-a.0.z}}." + } + std::set<string> --force { "<check>", |