Class: Fastlane::Actions::LastGitTagAction
Constant Summary
Fastlane::Action::AVAILABLE_CATEGORIES
Class Method Summary
collapse
action_name, author, lane_context, method_missing, other_action, return_value, sample_return_value, sh, step_text
Class Method Details
.authors ⇒ Object
24
25
26
|
# File 'lib/fastlane/actions/last_git_tag.rb', line 24
def self.authors
["KrauseFx"]
end
|
.available_options ⇒ Object
16
17
18
|
# File 'lib/fastlane/actions/last_git_tag.rb', line 16
def self.available_options
[]
end
|
.category ⇒ Object
42
43
44
|
# File 'lib/fastlane/actions/last_git_tag.rb', line 42
def self.category
:source_control
end
|
.description ⇒ Object
12
13
14
|
# File 'lib/fastlane/actions/last_git_tag.rb', line 12
def self.description
"Get the most recent git tag"
end
|
.details ⇒ Object
32
33
34
|
# File 'lib/fastlane/actions/last_git_tag.rb', line 32
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
|
.example_code ⇒ Object
36
37
38
39
40
|
# File 'lib/fastlane/actions/last_git_tag.rb', line 36
def self.example_code
[
'last_git_tag'
]
end
|
.is_supported?(platform) ⇒ Boolean
28
29
30
|
# File 'lib/fastlane/actions/last_git_tag.rb', line 28
def self.is_supported?(platform)
true
end
|
.output ⇒ Object
20
21
22
|
# File 'lib/fastlane/actions/last_git_tag.rb', line 20
def self.output
[]
end
|