Class: Versi::GenerateCommand::Interactors::BuildReleaseTag

Inherits:
Object
  • Object
show all
Includes:
RescueInteractor
Defined in:
lib/versi/generate_command/interactors/build_release_tag.rb

Instance Method Summary collapse

Instance Method Details

#callObject



14
15
16
17
18
19
20
# File 'lib/versi/generate_command/interactors/build_release_tag.rb', line 14

def call
  context.latest_release_version = find_latest_release_version
  generate_release_name
  generate_release_tag
  Versi::LOG.info("Your latest release tag is \"#{context.latest_release_version.to_s}\"")
  Versi::LOG.info("Your next release tag will be \"#{context.release_tag.name}\"")
end