method

tag_version

ruby latest stable - Class: Bundler::GemHelper

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

tag_version()
protected

No documentation available.

# File lib/bundler/gem_helper.rb, line 152
    def tag_version
      sh "git tag -m \"Version #{version}\" #{version_tag}"
      Bundler.ui.confirm "Tagged #{version_tag}."
      yield if block_given?
    rescue RuntimeError
      Bundler.ui.error "Untagging #{version_tag} due to error."
      sh_with_code "git tag -d #{version_tag}"
      raise
    end