Class: VersionManager::VersionTagger

Inherits:
Object
  • Object
show all
Defined in:
lib/version_manager/version_tagger.rb

Instance Method Summary collapse

Instance Method Details

#call(version) ⇒ Object



5
6
7
8
9
10
# File 'lib/version_manager/version_tagger.rb', line 5

def call version
  logger.info "Committing and tagging..."
  tag version
  logger.info "Done"
  logger.info "Run `git push origin master --tags` to deploy your new tag (#{version.to_tag})"
end