fastlane 1.104.0 → 1.105.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/.DS_Store +0 -0
- data/lib/assets/.DS_Store +0 -0
- data/lib/assets/Actions.md.erb +78 -0
- data/lib/assets/AvailablePlugins.md.erb +2 -2
- data/lib/{fastlane/plugins → assets/completions}/.DS_Store +0 -0
- data/lib/fastlane/.DS_Store +0 -0
- data/lib/fastlane/action.rb +33 -0
- data/lib/fastlane/actions/.DS_Store +0 -0
- data/lib/fastlane/actions/adb.rb +12 -0
- data/lib/fastlane/actions/adb_devices.rb +21 -2
- data/lib/fastlane/actions/add_git_tag.rb +31 -0
- data/lib/fastlane/actions/appaloosa.rb +27 -0
- data/lib/fastlane/actions/appetize.rb +23 -1
- data/lib/fastlane/actions/appetize_viewing_url_generator.rb +3 -1
- data/lib/fastlane/actions/appium.rb +18 -0
- data/lib/fastlane/actions/appledoc.rb +24 -0
- data/lib/fastlane/actions/appstore.rb +8 -0
- data/lib/fastlane/actions/apteligent.rb +13 -0
- data/lib/fastlane/actions/artifactory.rb +17 -0
- data/lib/fastlane/actions/backup_file.rb +10 -0
- data/lib/fastlane/actions/backup_xcarchive.rb +15 -0
- data/lib/fastlane/actions/badge.rb +15 -1
- data/lib/fastlane/actions/build_and_upload_to_appetize.rb +14 -1
- data/lib/fastlane/actions/bundle_install.rb +9 -0
- data/lib/fastlane/actions/carthage.rb +23 -0
- data/lib/fastlane/actions/cert.rb +21 -0
- data/lib/fastlane/actions/changelog_from_git_commits.rb +16 -0
- data/lib/fastlane/actions/chatwork.rb +20 -1
- data/lib/fastlane/actions/clean_build_artifacts.rb +19 -1
- data/lib/fastlane/actions/clean_cocoapods_cache.rb +11 -0
- data/lib/fastlane/actions/clear_derived_data.rb +11 -0
- data/lib/fastlane/actions/clipboard.rb +11 -0
- data/lib/fastlane/actions/cloc.rb +18 -1
- data/lib/fastlane/actions/cocoapods.rb +18 -0
- data/lib/fastlane/actions/commit_version_bump.rb +30 -0
- data/lib/fastlane/actions/copy_artifacts.rb +25 -0
- data/lib/fastlane/actions/crashlytics.rb +24 -1
- data/lib/fastlane/actions/create_keychain.rb +16 -0
- data/lib/fastlane/actions/create_pull_request.rb +18 -0
- data/lib/fastlane/actions/danger.rb +20 -1
- data/lib/fastlane/actions/debug.rb +10 -0
- data/lib/fastlane/actions/default_platform.rb +10 -0
- data/lib/fastlane/actions/delete_keychain.rb +14 -0
- data/lib/fastlane/actions/deliver.rb +26 -0
- data/lib/fastlane/actions/deploygate.rb +25 -2
- data/lib/fastlane/{plugins/templates → actions/device_grid}/.DS_Store +0 -0
- data/lib/fastlane/actions/dotgpg_environment.rb +10 -0
- data/lib/fastlane/actions/download.rb +10 -0
- data/lib/fastlane/actions/download_dsyms.rb +20 -2
- data/lib/fastlane/actions/dsym_zip.rb +17 -0
- data/lib/fastlane/actions/ensure_git_branch.rb +21 -0
- data/lib/fastlane/actions/ensure_git_status_clean.rb +18 -0
- data/lib/fastlane/actions/ensure_no_debug_code.rb +21 -1
- data/lib/fastlane/actions/ensure_xcode_version.rb +8 -0
- data/lib/fastlane/actions/erb.rb +30 -1
- data/lib/fastlane/actions/fastlane_version.rb +17 -2
- data/lib/fastlane/actions/flock.rb +20 -0
- data/lib/fastlane/actions/frameit.rb +18 -0
- data/lib/fastlane/actions/gcovr.rb +18 -0
- data/lib/fastlane/actions/get_build_number.rb +10 -0
- data/lib/fastlane/actions/get_build_number_repository.rb +18 -0
- data/lib/fastlane/actions/get_github_release.rb +18 -1
- data/lib/fastlane/actions/get_info_plist_value.rb +14 -0
- data/lib/fastlane/actions/get_ipa_info_plist_value.rb +10 -0
- data/lib/fastlane/actions/get_version_number.rb +10 -0
- data/lib/fastlane/actions/git_add.rb +11 -7
- data/lib/fastlane/actions/git_branch.rb +10 -0
- data/lib/fastlane/actions/git_commit.rb +13 -0
- data/lib/fastlane/actions/git_pull.rb +11 -0
- data/lib/fastlane/actions/git_tag_exists.rb +12 -0
- data/lib/fastlane/actions/gradle.rb +45 -0
- data/lib/fastlane/actions/gym.rb +25 -3
- data/lib/fastlane/actions/hg_add_tag.rb +10 -0
- data/lib/fastlane/actions/hg_commit_version_bump.rb +26 -0
- data/lib/fastlane/actions/hg_ensure_clean_status.rb +14 -0
- data/lib/fastlane/actions/hg_push.rb +18 -0
- data/lib/fastlane/actions/hipchat.rb +19 -0
- data/lib/fastlane/actions/hockey.rb +22 -1
- data/lib/fastlane/actions/ifttt.rb +20 -0
- data/lib/fastlane/actions/import.rb +10 -0
- data/lib/fastlane/actions/import_certificate.rb +19 -0
- data/lib/fastlane/actions/import_from_git.rb +14 -0
- data/lib/fastlane/actions/increment_build_number.rb +24 -2
- data/lib/fastlane/actions/increment_version_number.rb +31 -0
- data/lib/fastlane/actions/install_on_device.rb +17 -0
- data/lib/fastlane/actions/install_xcode_plugin.rb +11 -0
- data/lib/fastlane/actions/installr.rb +17 -1
- data/lib/fastlane/actions/ipa.rb +25 -1
- data/lib/fastlane/actions/is_ci.rb +14 -1
- data/lib/fastlane/actions/jazzy.rb +10 -0
- data/lib/fastlane/actions/jira.rb +16 -3
- data/lib/fastlane/actions/lane_context.rb +8 -0
- data/lib/fastlane/actions/last_git_commit.rb +23 -0
- data/lib/fastlane/actions/last_git_tag.rb +14 -0
- data/lib/fastlane/actions/latest_testflight_build_number.rb +21 -1
- data/lib/fastlane/actions/lcov.rb +14 -0
- data/lib/fastlane/actions/mailgun.rb +25 -0
- data/lib/fastlane/actions/make_changelog_from_jenkins.rb +13 -0
- data/lib/fastlane/actions/match.rb +11 -0
- data/lib/fastlane/actions/nexus_upload.rb +20 -0
- data/lib/fastlane/actions/notification.rb +10 -0
- data/lib/fastlane/actions/notify.rb +9 -1
- data/lib/fastlane/actions/number_of_commits.rb +15 -0
- data/lib/fastlane/actions/oclint.rb +35 -0
- data/lib/fastlane/actions/onesignal.rb +17 -3
- data/lib/fastlane/actions/opt_out_usage.rb +10 -0
- data/lib/fastlane/actions/pem.rb +19 -0
- data/lib/fastlane/actions/pilot.rb +17 -0
- data/lib/fastlane/actions/pod_lib_lint.rb +16 -0
- data/lib/fastlane/actions/pod_push.rb +17 -3
- data/lib/fastlane/actions/podio_item.rb +16 -0
- data/lib/fastlane/actions/produce.rb +19 -0
- data/lib/fastlane/actions/prompt.rb +20 -0
- data/lib/fastlane/actions/push_git_tags.rb +14 -0
- data/lib/fastlane/actions/push_to_git_remote.rb +25 -0
- data/lib/fastlane/actions/puts.rb +10 -0
- data/lib/fastlane/actions/read_podspec.rb +23 -1
- data/lib/fastlane/actions/recreate_schemes.rb +10 -0
- data/lib/fastlane/actions/register_devices.rb +31 -0
- data/lib/fastlane/actions/reset_git_repo.rb +18 -0
- data/lib/fastlane/actions/reset_simulators.rb +10 -0
- data/lib/fastlane/actions/resign.rb +24 -2
- data/lib/fastlane/actions/restore_file.rb +10 -0
- data/lib/fastlane/actions/rocket.rb +14 -0
- data/lib/fastlane/actions/rsync.rb +13 -0
- data/lib/fastlane/actions/s3.rb +30 -0
- data/lib/fastlane/actions/say.rb +10 -0
- data/lib/fastlane/actions/scan.rb +16 -1
- data/lib/fastlane/actions/scp.rb +25 -0
- data/lib/fastlane/actions/screengrab.rb +16 -0
- data/lib/fastlane/actions/set_build_number_repository.rb +16 -3
- data/lib/fastlane/actions/set_changelog.rb +14 -1
- data/lib/fastlane/actions/set_github_release.rb +18 -0
- data/lib/fastlane/actions/set_info_plist_value.rb +10 -4
- data/lib/fastlane/actions/set_pod_key.rb +18 -0
- data/lib/fastlane/actions/setup_jenkins.rb +15 -1
- data/lib/fastlane/actions/sigh.rb +19 -0
- data/lib/fastlane/actions/skip_docs.rb +14 -0
- data/lib/fastlane/actions/slack.rb +34 -0
- data/lib/fastlane/actions/slather.rb +15 -2
- data/lib/fastlane/actions/snapshot.rb +14 -0
- data/lib/fastlane/actions/sonar.rb +37 -19
- data/lib/fastlane/actions/splunkmint.rb +14 -0
- data/lib/fastlane/actions/ssh.rb +18 -1
- data/lib/fastlane/actions/supply.rb +10 -2
- data/lib/fastlane/actions/swiftlint.rb +19 -0
- data/lib/fastlane/actions/team_id.rb +10 -0
- data/lib/fastlane/actions/team_name.rb +10 -0
- data/lib/fastlane/actions/testfairy.rb +19 -1
- data/lib/fastlane/actions/testflight.rb +8 -0
- data/lib/fastlane/actions/tryouts.rb +19 -1
- data/lib/fastlane/actions/twitter.rb +18 -1
- data/lib/fastlane/actions/typetalk.rb +16 -0
- data/lib/fastlane/actions/unlock_keychain.rb +27 -0
- data/lib/fastlane/actions/update_app_group_identifiers.rb +17 -0
- data/lib/fastlane/actions/update_app_identifier.rb +18 -0
- data/lib/fastlane/actions/update_fastlane.rb +27 -0
- data/lib/fastlane/actions/update_icloud_container_identifiers.rb +17 -0
- data/lib/fastlane/actions/update_info_plist.rb +38 -0
- data/lib/fastlane/actions/update_project_code_signing.rb +10 -2
- data/lib/fastlane/actions/update_project_provisioning.rb +17 -1
- data/lib/fastlane/actions/update_project_team.rb +14 -1
- data/lib/fastlane/actions/update_urban_airship_configuration.rb +14 -0
- data/lib/fastlane/actions/update_url_schemes.rb +21 -0
- data/lib/fastlane/actions/upload_symbols_to_crashlytics.rb +10 -0
- data/lib/fastlane/actions/upload_symbols_to_sentry.rb +15 -0
- data/lib/fastlane/actions/verify_build.rb +14 -0
- data/lib/fastlane/actions/verify_pod_keys.rb +15 -1
- data/lib/fastlane/actions/verify_xcode.rb +11 -0
- data/lib/fastlane/actions/version_bump_podspec.rb +11 -0
- data/lib/fastlane/actions/version_get_podspec.rb +10 -0
- data/lib/fastlane/actions/xcode_install.rb +11 -0
- data/lib/fastlane/actions/xcode_select.rb +14 -0
- data/lib/fastlane/actions/xcode_server_get_assets.rb +13 -0
- data/lib/fastlane/actions/xcodebuild.rb +68 -1
- data/lib/fastlane/actions/xcov.rb +18 -1
- data/lib/fastlane/actions/xctool.rb +21 -1
- data/lib/fastlane/actions/xcversion.rb +17 -2
- data/lib/fastlane/actions/zip.rb +14 -0
- data/lib/fastlane/commands_generator.rb +2 -4
- data/lib/fastlane/documentation/markdown_docs_generator.rb +142 -0
- data/lib/fastlane/features.rb +4 -2
- data/lib/fastlane/lane_manager.rb +6 -2
- data/lib/fastlane/setup/crashlytics_beta.rb +6 -4
- data/lib/fastlane/version.rb +1 -1
- metadata +37 -33
@@ -21,6 +21,16 @@ module Fastlane
|
|
21
21
|
"Raises an exception if there are uncommited git changes"
|
22
22
|
end
|
23
23
|
|
24
|
+
def self.details
|
25
|
+
[
|
26
|
+
'A sanity check to make sure you are working in a repo that is clean. Especially',
|
27
|
+
'useful to put at the beginning of your Fastfile in the `before_all` block, if',
|
28
|
+
'some of your other actions will touch your filesystem, do things to your git repo,',
|
29
|
+
'or just as a general reminder to save your work. Also needed as a prerequisite for',
|
30
|
+
'some other actions like `reset_git_repo`.'
|
31
|
+
].join("\n")
|
32
|
+
end
|
33
|
+
|
24
34
|
def self.output
|
25
35
|
[
|
26
36
|
['GIT_REPO_WAS_CLEAN_ON_START', 'Stores the fact that the git repo was clean at some point']
|
@@ -31,6 +41,14 @@ module Fastlane
|
|
31
41
|
"lmirosevic"
|
32
42
|
end
|
33
43
|
|
44
|
+
def self.example_code
|
45
|
+
['ensure_git_status_clean']
|
46
|
+
end
|
47
|
+
|
48
|
+
def self.category
|
49
|
+
:source_control
|
50
|
+
end
|
51
|
+
|
34
52
|
def self.is_supported?(platform)
|
35
53
|
true
|
36
54
|
end
|
@@ -47,7 +47,7 @@ module Fastlane
|
|
47
47
|
|
48
48
|
def self.details
|
49
49
|
[
|
50
|
-
"
|
50
|
+
"You don't want any debug code to slip into production. This can be used",
|
51
51
|
"to check if there is any debug code still in your code base or if you have",
|
52
52
|
"things like // TO DO or similar"
|
53
53
|
].join("\n")
|
@@ -88,6 +88,26 @@ module Fastlane
|
|
88
88
|
["KrauseFx"]
|
89
89
|
end
|
90
90
|
|
91
|
+
def self.example_code
|
92
|
+
[
|
93
|
+
'ensure_no_debug_code(text: "// TODO")',
|
94
|
+
'ensure_no_debug_code(text: "Log.v",
|
95
|
+
extension: "java")',
|
96
|
+
'ensure_no_debug_code(text: "NSLog",
|
97
|
+
path: "./lib",
|
98
|
+
extension: "m")',
|
99
|
+
'ensure_no_debug_code(text: "(^#define DEBUG|NSLog)",
|
100
|
+
path: "./lib",
|
101
|
+
extension: "m")',
|
102
|
+
'ensure_no_debug_code(text: "<<<<<<",
|
103
|
+
extensions: ["m", "swift", "java"])'
|
104
|
+
]
|
105
|
+
end
|
106
|
+
|
107
|
+
def self.category
|
108
|
+
:misc
|
109
|
+
end
|
110
|
+
|
91
111
|
def self.is_supported?(platform)
|
92
112
|
true
|
93
113
|
end
|
data/lib/fastlane/actions/erb.rb
CHANGED
@@ -18,7 +18,10 @@ module Fastlane
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def self.details
|
21
|
-
|
21
|
+
[
|
22
|
+
"Renders an ERB template with `placeholders` given as a hash via parameter,",
|
23
|
+
"if no :destination is set, returns rendered template as string"
|
24
|
+
].join("\n")
|
22
25
|
end
|
23
26
|
|
24
27
|
def self.available_options
|
@@ -51,6 +54,32 @@ module Fastlane
|
|
51
54
|
["hjanuschka"]
|
52
55
|
end
|
53
56
|
|
57
|
+
def self.example_code
|
58
|
+
[
|
59
|
+
'# Example `erb` template:
|
60
|
+
|
61
|
+
# Variable1 <%= var1 %>
|
62
|
+
# Variable2 <%= var2 %>
|
63
|
+
# <% for item in var3 %>
|
64
|
+
# <%= item %>
|
65
|
+
# <% end %>
|
66
|
+
|
67
|
+
erb(
|
68
|
+
template: "1.erb",
|
69
|
+
destination: "/tmp/rendered.out",
|
70
|
+
placeholders: {
|
71
|
+
:var1 => 123,
|
72
|
+
:var2 => "string",
|
73
|
+
:var3 => ["element1", "element2"]
|
74
|
+
}
|
75
|
+
)'
|
76
|
+
]
|
77
|
+
end
|
78
|
+
|
79
|
+
def self.category
|
80
|
+
:misc
|
81
|
+
end
|
82
|
+
|
54
83
|
def self.is_supported?(platform)
|
55
84
|
true
|
56
85
|
end
|
@@ -5,7 +5,7 @@ module Fastlane
|
|
5
5
|
|
6
6
|
class FastlaneVersionAction < Action
|
7
7
|
def self.run(params)
|
8
|
-
params = nil unless params.kind_of?
|
8
|
+
params = nil unless params.kind_of?(Array)
|
9
9
|
value = (params || []).first
|
10
10
|
defined_version = Gem::Version.new(value) if value
|
11
11
|
|
@@ -15,7 +15,7 @@ module Fastlane
|
|
15
15
|
UI.user_error!("The Fastfile requires a fastlane version of >= #{defined_version}. You are on #{Fastlane::VERSION}. Please update using `sudo gem update fastlane`.")
|
16
16
|
end
|
17
17
|
|
18
|
-
UI.message("fastlane version
|
18
|
+
UI.message("Your fastlane version #{Fastlane::VERSION} matches the minimum requirement of #{defined_version} ✅")
|
19
19
|
end
|
20
20
|
|
21
21
|
def self.step_text
|
@@ -30,6 +30,21 @@ module Fastlane
|
|
30
30
|
"Verifies the minimum fastlane version required"
|
31
31
|
end
|
32
32
|
|
33
|
+
def self.example_code
|
34
|
+
['fastlane_version "1.50.0"']
|
35
|
+
end
|
36
|
+
|
37
|
+
def self.details
|
38
|
+
[
|
39
|
+
"Add this to your `Fastfile` to require a certain version of _fastlane_.",
|
40
|
+
"Use it if you use an action that just recently came out and you need it"
|
41
|
+
].join("\n")
|
42
|
+
end
|
43
|
+
|
44
|
+
def self.category
|
45
|
+
:misc
|
46
|
+
end
|
47
|
+
|
33
48
|
def self.is_supported?(platform)
|
34
49
|
true
|
35
50
|
end
|
@@ -33,6 +33,13 @@ module Fastlane
|
|
33
33
|
"Send a message to a Flock group"
|
34
34
|
end
|
35
35
|
|
36
|
+
def self.details
|
37
|
+
[
|
38
|
+
"To obtain the token, create a new [incoming message webhook](https://dev.flock.co/wiki/display/FlockAPI/Incoming+Webhooks)",
|
39
|
+
"in your Flock admin panel."
|
40
|
+
].join("\n")
|
41
|
+
end
|
42
|
+
|
36
43
|
def self.available_options
|
37
44
|
[
|
38
45
|
FastlaneCore::ConfigItem.new(key: :message,
|
@@ -56,6 +63,19 @@ module Fastlane
|
|
56
63
|
"Manav"
|
57
64
|
end
|
58
65
|
|
66
|
+
def self.example_code
|
67
|
+
[
|
68
|
+
'flock(
|
69
|
+
message: "Hello",
|
70
|
+
token: "xxx"
|
71
|
+
)'
|
72
|
+
]
|
73
|
+
end
|
74
|
+
|
75
|
+
def self.category
|
76
|
+
:notifications
|
77
|
+
end
|
78
|
+
|
59
79
|
def self.is_supported?(platform)
|
60
80
|
true
|
61
81
|
end
|
@@ -24,6 +24,13 @@ module Fastlane
|
|
24
24
|
"Adds device frames around the screenshots using frameit"
|
25
25
|
end
|
26
26
|
|
27
|
+
def self.details
|
28
|
+
[
|
29
|
+
"Use [frameit](https://github.com/fastlane/fastlane/tree/master/frameit) to prepare perfect screenshots for the App Store, your website, QA",
|
30
|
+
"or emails. You can add background and titles to the framed screenshots as well."
|
31
|
+
].join("\n")
|
32
|
+
end
|
33
|
+
|
27
34
|
def self.available_options
|
28
35
|
require "frameit"
|
29
36
|
require "frameit/options"
|
@@ -39,6 +46,17 @@ module Fastlane
|
|
39
46
|
"KrauseFx"
|
40
47
|
end
|
41
48
|
|
49
|
+
def self.example_code
|
50
|
+
[
|
51
|
+
'frameit',
|
52
|
+
'frameit :silver'
|
53
|
+
]
|
54
|
+
end
|
55
|
+
|
56
|
+
def self.category
|
57
|
+
:screenshots
|
58
|
+
end
|
59
|
+
|
42
60
|
def self.is_supported?(platform)
|
43
61
|
[:ios, :mac].include? platform
|
44
62
|
end
|
@@ -140,6 +140,24 @@ module Fastlane
|
|
140
140
|
def self.author
|
141
141
|
"dtrenz"
|
142
142
|
end
|
143
|
+
|
144
|
+
def self.example_code
|
145
|
+
[
|
146
|
+
'gcovr(
|
147
|
+
html: true,
|
148
|
+
html_details: true,
|
149
|
+
output: "./code-coverage/report.html"
|
150
|
+
)'
|
151
|
+
]
|
152
|
+
end
|
153
|
+
|
154
|
+
def self.details
|
155
|
+
"Generate summarized code coverage reports using [gcovr](http://gcovr.com/)"
|
156
|
+
end
|
157
|
+
|
158
|
+
def self.category
|
159
|
+
:testing
|
160
|
+
end
|
143
161
|
end
|
144
162
|
end
|
145
163
|
end
|
@@ -78,6 +78,16 @@ module Fastlane
|
|
78
78
|
def self.is_supported?(platform)
|
79
79
|
[:ios, :mac].include? platform
|
80
80
|
end
|
81
|
+
|
82
|
+
def self.example_code
|
83
|
+
[
|
84
|
+
'build_number = get_build_number(xcodeproj: "Project.xcodeproj")'
|
85
|
+
]
|
86
|
+
end
|
87
|
+
|
88
|
+
def self.category
|
89
|
+
:project
|
90
|
+
end
|
81
91
|
end
|
82
92
|
end
|
83
93
|
end
|
@@ -69,6 +69,14 @@ module Fastlane
|
|
69
69
|
"Get the build number from the current repository"
|
70
70
|
end
|
71
71
|
|
72
|
+
def self.details
|
73
|
+
[
|
74
|
+
"This action will get the **build number** according to what the SCM HEAD reports.",
|
75
|
+
"Currently supported SCMs are svn (uses root revision), git-svn (uses svn revision) and git (uses short hash) and mercurial (uses short hash or revision number).",
|
76
|
+
"There is an option, `:use_hg_revision_number`, which allows to use mercurial revision number instead of hash."
|
77
|
+
].join("\n")
|
78
|
+
end
|
79
|
+
|
72
80
|
def self.available_options
|
73
81
|
[
|
74
82
|
FastlaneCore::ConfigItem.new(key: :use_hg_revision_number,
|
@@ -97,6 +105,16 @@ module Fastlane
|
|
97
105
|
def self.is_supported?(platform)
|
98
106
|
[:ios, :mac].include? platform
|
99
107
|
end
|
108
|
+
|
109
|
+
def self.example_code
|
110
|
+
[
|
111
|
+
'get_build_number_repository'
|
112
|
+
]
|
113
|
+
end
|
114
|
+
|
115
|
+
def self.category
|
116
|
+
:source_control
|
117
|
+
end
|
100
118
|
end
|
101
119
|
end
|
102
120
|
end
|
@@ -92,7 +92,7 @@ module Fastlane
|
|
92
92
|
"tarball_url"=>"https://api.github.com/repos/KrauseFx/fastlane/tarball/1.8.0",
|
93
93
|
"zipball_url"=>"https://api.github.com/repos/KrauseFx/fastlane/zipball/1.8.0",
|
94
94
|
"body"=> ...Markdown...
|
95
|
-
"This is one of the biggest updates of
|
95
|
+
"This is one of the biggest updates of _fastlane_ yet"
|
96
96
|
}'
|
97
97
|
|
98
98
|
[
|
@@ -141,6 +141,23 @@ module Fastlane
|
|
141
141
|
def self.is_supported?(platform)
|
142
142
|
true
|
143
143
|
end
|
144
|
+
|
145
|
+
def self.example_code
|
146
|
+
[
|
147
|
+
'release = get_github_release(url: "fastlane/fastlane", version: "1.0.0")
|
148
|
+
puts release["name"]'
|
149
|
+
]
|
150
|
+
end
|
151
|
+
|
152
|
+
def self.sample_return_value
|
153
|
+
{
|
154
|
+
"name" => "name"
|
155
|
+
}
|
156
|
+
end
|
157
|
+
|
158
|
+
def self.category
|
159
|
+
:source_control
|
160
|
+
end
|
144
161
|
end
|
145
162
|
end
|
146
163
|
end
|
@@ -26,6 +26,10 @@ module Fastlane
|
|
26
26
|
"Returns value from Info.plist of your project as native Ruby data structures"
|
27
27
|
end
|
28
28
|
|
29
|
+
def self.details
|
30
|
+
"Get a value from a plist file, which can be used to fetch the app identifier and more information about your app"
|
31
|
+
end
|
32
|
+
|
29
33
|
def self.available_options
|
30
34
|
[
|
31
35
|
FastlaneCore::ConfigItem.new(key: :key,
|
@@ -55,6 +59,16 @@ module Fastlane
|
|
55
59
|
def self.is_supported?(platform)
|
56
60
|
[:ios, :mac].include? platform
|
57
61
|
end
|
62
|
+
|
63
|
+
def self.example_code
|
64
|
+
[
|
65
|
+
'identifier = get_info_plist_value(path: "./Info.plist", key: "CFBundleIdentifier")'
|
66
|
+
]
|
67
|
+
end
|
68
|
+
|
69
|
+
def self.category
|
70
|
+
:project
|
71
|
+
end
|
58
72
|
end
|
59
73
|
end
|
60
74
|
end
|
@@ -62,6 +62,16 @@ module Fastlane
|
|
62
62
|
def self.is_supported?(platform)
|
63
63
|
[:ios, :mac].include?(platform)
|
64
64
|
end
|
65
|
+
|
66
|
+
def self.example_code
|
67
|
+
[
|
68
|
+
'get_ipa_info_plist_value(ipa: "path.ipa", key: "KEY_YOU_READ")'
|
69
|
+
]
|
70
|
+
end
|
71
|
+
|
72
|
+
def self.category
|
73
|
+
:project
|
74
|
+
end
|
65
75
|
end
|
66
76
|
end
|
67
77
|
end
|
@@ -141,6 +141,16 @@ module Fastlane
|
|
141
141
|
def self.is_supported?(platform)
|
142
142
|
[:ios, :mac].include? platform
|
143
143
|
end
|
144
|
+
|
145
|
+
def self.example_code
|
146
|
+
[
|
147
|
+
'version = get_version_number(xcodeproj: "Project.xcodeproj")'
|
148
|
+
]
|
149
|
+
end
|
150
|
+
|
151
|
+
def self.category
|
152
|
+
:project
|
153
|
+
end
|
144
154
|
end
|
145
155
|
end
|
146
156
|
end
|
@@ -21,10 +21,6 @@ module Fastlane
|
|
21
21
|
"Directly add the given file"
|
22
22
|
end
|
23
23
|
|
24
|
-
def self.details
|
25
|
-
""
|
26
|
-
end
|
27
|
-
|
28
24
|
def self.available_options
|
29
25
|
[
|
30
26
|
FastlaneCore::ConfigItem.new(key: :path,
|
@@ -42,9 +38,6 @@ module Fastlane
|
|
42
38
|
]
|
43
39
|
end
|
44
40
|
|
45
|
-
def self.output
|
46
|
-
end
|
47
|
-
|
48
41
|
def self.return_value
|
49
42
|
nil
|
50
43
|
end
|
@@ -56,6 +49,17 @@ module Fastlane
|
|
56
49
|
def self.is_supported?(platform)
|
57
50
|
true
|
58
51
|
end
|
52
|
+
|
53
|
+
def self.example_code
|
54
|
+
[
|
55
|
+
'git_add(path: "./version.txt")',
|
56
|
+
'git_add(path: ["./version.txt", "./changelog.txt"])'
|
57
|
+
]
|
58
|
+
end
|
59
|
+
|
60
|
+
def self.category
|
61
|
+
:source_control
|
62
|
+
end
|
59
63
|
end
|
60
64
|
end
|
61
65
|
end
|