Sha256: c070e35224e2936e34aeffbbac8af2e79db5fa65bf57bba621ea7bcf51849d79
Contents?: true
Size: 878 Bytes
Versions: 37
Compression:
Stored size: 878 Bytes
Contents
module Fastlane module Actions # Adds a hg tag to the current commit class HgAddTagAction < Action def self.run(options) tag = options[:tag] UI.message("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
37 entries across 37 versions & 1 rubygems