Class: Kettle::Family::CLI::BumpVersion
- Inherits:
-
BaseCommand
- Object
- CommandKit::Command
- BaseCommand
- Kettle::Family::CLI::BumpVersion
- Includes:
- CommitOptions, ExecutionOptions
- Defined in:
- lib/kettle/family/cli.rb
Instance Method Summary collapse
Methods included from CommitOptions
Methods included from ExecutionOptions
Methods inherited from BaseCommand
Methods included from SelectionOptions
Methods included from SharedOptions
Methods included from ReturningMain
Constructor Details
This class inherits a constructor from Kettle::Family::CLI::BaseCommand
Instance Method Details
#run(target_version = nil) ⇒ Object
366 367 368 369 370 |
# File 'lib/kettle/family/cli.rb', line 366 def run(target_version = nil) raise Error, "bump-version requires VERSION, major, minor, patch, or pre" unless target_version run_family("bump-version", target_version: target_version, from_version: [:from]) end |