class Fastlane::Actions::HgAddTagAction
Adds a hg tag to the current commit
def self.author
def self.author # credits to lmirosevic for original git version "sjrmanning" end
def self.available_options
def self.available_options [ FastlaneCore::ConfigItem.new(key: :tag, env_name: "FL_HG_TAG_TAG", description: "Tag to create") ] end
def self.description
def self.description "This will add a hg tag to the current branch" end
def self.is_supported?(platform)
def self.is_supported?(platform) true end
def self.run(options)
def self.run(options) tag = options[:tag] Helper.log.info "Adding mercurial tag '#{tag}' 🎯." command = "hg tag \"#{tag}\"" return command if Helper.is_test? Actions.sh(command) end