Class: Schmersion::Releaser
- Inherits:
-
Object
- Object
- Schmersion::Releaser
- Defined in:
- lib/schmersion/releaser.rb
Constant Summary collapse
- COLORS =
[:blue, :red, :yellow, :magenta, :green, :cyan].freeze
Instance Method Summary collapse
-
#initialize(repo, **options) ⇒ Releaser
constructor
A new instance of Releaser.
- #release ⇒ Object
Constructor Details
#initialize(repo, **options) ⇒ Releaser
Returns a new instance of Releaser.
10 11 12 13 14 |
# File 'lib/schmersion/releaser.rb', line 10 def initialize(repo, **) @repo = repo @options = @exports = {} end |
Instance Method Details
#release ⇒ Object
16 17 18 19 20 21 22 23 24 |
# File 'lib/schmersion/releaser.rb', line 16 def release check_for_for_existing_version generate_exports preview_exports save_exports commit tag display_prompt end |