Sha256: 4959682f50240d44f57e0916f056ed44c5f5517032064e69563601d96323acb7
Contents?: true
Size: 882 Bytes
Versions: 91
Compression:
Stored size: 882 Bytes
Contents
module Fastlane module Actions # Adds a hg tag to the current commit class HgAddTagAction < Action 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 def self.description "This will add a hg tag to the current branch" end def self.available_options [ FastlaneCore::ConfigItem.new(key: :tag, env_name: "FL_HG_TAG_TAG", description: "Tag to create") ] end def self.author # credits to lmirosevic for original git version "sjrmanning" end def self.is_supported?(platform) true end end end end
Version data entries
91 entries across 91 versions & 1 rubygems