Sha256: 8ba3725c39f334f34a57850fb532a37afc6d936590ebc6d7b17dfc4d3331ceee

Contents?: true

Size: 1.04 KB

Versions: 202

Compression:

Stored size: 1.04 KB

Contents

module Fastlane
  module Actions
    class LastGitTagAction < Action
      def self.run(params)
        Actions.last_git_tag_name
      end

      #####################################################
      # @!group Documentation
      #####################################################

      def self.description
        "Get the most recent git tag"
      end

      def self.available_options
        []
      end

      def self.output
        []
      end

      def self.authors
        ["KrauseFx"]
      end

      def self.is_supported?(platform)
        true
      end

      def self.details
        "If you are using this action on a **shallow clone**, *the default with some CI systems like Bamboo*, you need to ensure that you have also have pulled all the git tags appropriately. Assuming your git repo has the correct remote set you can issue `sh('git fetch --tags')`"
      end

      def self.example_code
        [
          'last_git_tag'
        ]
      end

      def self.category
        :source_control
      end
    end
  end
end

Version data entries

202 entries across 202 versions & 1 rubygems

Version Path
fastlane-2.61.0.beta.20171005010003 fastlane/lib/fastlane/actions/last_git_tag.rb
fastlane-2.61.0.beta.20171004010004 fastlane/lib/fastlane/actions/last_git_tag.rb
fastlane-2.60.1 fastlane/lib/fastlane/actions/last_git_tag.rb
fastlane-2.60.0 fastlane/lib/fastlane/actions/last_git_tag.rb
fastlane-2.60.0.beta.20171003010003 fastlane/lib/fastlane/actions/last_git_tag.rb
fastlane-2.60.0.beta.20171002010004 fastlane/lib/fastlane/actions/last_git_tag.rb
fastlane-2.60.0.beta.20171001010003 fastlane/lib/fastlane/actions/last_git_tag.rb
fastlane-2.60.0.beta.20170930010003 fastlane/lib/fastlane/actions/last_git_tag.rb
fastlane-2.60.0.beta.20170929010003 fastlane/lib/fastlane/actions/last_git_tag.rb
fastlane-2.60.0.beta.20170928010003 fastlane/lib/fastlane/actions/last_git_tag.rb
fastlane-2.60.0.beta.20170927010003 fastlane/lib/fastlane/actions/last_git_tag.rb
fastlane-2.60.0.beta.20170926010004 fastlane/lib/fastlane/actions/last_git_tag.rb
fastlane-2.59.0 fastlane/lib/fastlane/actions/last_git_tag.rb
fastlane-2.59.0.beta.20170925010002 fastlane/lib/fastlane/actions/last_git_tag.rb
fastlane-2.59.0.beta.20170924010003 fastlane/lib/fastlane/actions/last_git_tag.rb
fastlane-2.59.0.beta.20170923010003 fastlane/lib/fastlane/actions/last_git_tag.rb
fastlane-2.59.0.beta.20170922010003 fastlane/lib/fastlane/actions/last_git_tag.rb
fastlane-2.59.0.beta.20170921010003 fastlane/lib/fastlane/actions/last_git_tag.rb
fastlane-2.58.0 fastlane/lib/fastlane/actions/last_git_tag.rb
fastlane-2.58.0.beta.20170920010003 fastlane/lib/fastlane/actions/last_git_tag.rb