class Fastlane::Actions::LastGitTagAction

Public Class Methods

authors() click to toggle source
# File fastlane/lib/fastlane/actions/last_git_tag.rb, line 28
def self.authors
  ["KrauseFx"]
end
available_options() click to toggle source
# File fastlane/lib/fastlane/actions/last_git_tag.rb, line 16
def self.available_options
  []
end
category() click to toggle source
# File fastlane/lib/fastlane/actions/last_git_tag.rb, line 46
def self.category
  :source_control
end
description() click to toggle source

@!group Documentation

# File fastlane/lib/fastlane/actions/last_git_tag.rb, line 12
def self.description
  "Get the most recent git tag"
end
details() click to toggle source
# File fastlane/lib/fastlane/actions/last_git_tag.rb, line 36
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 pulled all the git tags appropriately. Assuming your git repo has the correct remote set you can issue `sh('git fetch --tags')`."
end
example_code() click to toggle source
# File fastlane/lib/fastlane/actions/last_git_tag.rb, line 40
def self.example_code
  [
    'last_git_tag'
  ]
end
is_supported?(platform) click to toggle source
# File fastlane/lib/fastlane/actions/last_git_tag.rb, line 32
def self.is_supported?(platform)
  true
end
output() click to toggle source
# File fastlane/lib/fastlane/actions/last_git_tag.rb, line 20
def self.output
  []
end
return_type() click to toggle source
# File fastlane/lib/fastlane/actions/last_git_tag.rb, line 24
def self.return_type
  :string
end
run(params) click to toggle source
# File fastlane/lib/fastlane/actions/last_git_tag.rb, line 4
def self.run(params)
  Actions.last_git_tag_name
end