Class: Releaser::CLI
- Inherits:
-
Thor
- Object
- Thor
- Releaser::CLI
- Includes:
- Thor::Actions
- Defined in:
- lib/releaser/cli.rb
Instance Method Summary collapse
Instance Method Details
#full_log ⇒ Object
15 16 17 18 |
# File 'lib/releaser/cli.rb', line 15 def full_log check_for_repo_config say repo.all_change_logs.map(&:format).join("\n\n") end |
#log ⇒ Object
9 10 11 12 |
# File 'lib/releaser/cli.rb', line 9 def log check_for_repo_config say repo.last_change_log.format end |
#release(tag) ⇒ Object
21 22 23 24 |
# File 'lib/releaser/cli.rb', line 21 def release(tag) repo.create_release(tag) log end |