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
@@ -38,14 +38,14 @@ module Fastlane
|
|
38
38
|
].join(' ')
|
39
39
|
|
40
40
|
if Helper.test?
|
41
|
-
Actions.lane_context[SharedValues::BUILD_NUMBER] = command
|
41
|
+
return Actions.lane_context[SharedValues::BUILD_NUMBER] = command
|
42
42
|
else
|
43
43
|
Actions.sh command
|
44
44
|
|
45
45
|
# Store the new number in the shared hash
|
46
46
|
build_number = `#{command_prefix} agvtool what-version`.split("\n").last.strip
|
47
47
|
|
48
|
-
Actions.lane_context[SharedValues::BUILD_NUMBER] = build_number
|
48
|
+
return Actions.lane_context[SharedValues::BUILD_NUMBER] = build_number
|
49
49
|
end
|
50
50
|
rescue => ex
|
51
51
|
UI.error('Make sure to follow the steps to setup your Xcode project: https://developer.apple.com/library/ios/qa/qa1827/_index.html')
|
@@ -80,9 +80,31 @@ module Fastlane
|
|
80
80
|
]
|
81
81
|
end
|
82
82
|
|
83
|
+
def self.return_value
|
84
|
+
"The new build number"
|
85
|
+
end
|
86
|
+
|
83
87
|
def self.author
|
84
88
|
"KrauseFx"
|
85
89
|
end
|
90
|
+
|
91
|
+
def self.example_code
|
92
|
+
[
|
93
|
+
'increment_build_number # automatically increment by one',
|
94
|
+
'increment_build_number(
|
95
|
+
build_number: "75" # set a specific number
|
96
|
+
)',
|
97
|
+
'increment_build_number(
|
98
|
+
build_number: 75, # specify specific build number (optional, omitting it increments by one)
|
99
|
+
xcodeproj: "./path/to/MyApp.xcodeproj" # (optional, you must specify the path to your main Xcode project if it is not in the project root directory)
|
100
|
+
)',
|
101
|
+
'build_number = increment_build_number'
|
102
|
+
]
|
103
|
+
end
|
104
|
+
|
105
|
+
def self.category
|
106
|
+
:project
|
107
|
+
end
|
86
108
|
end
|
87
109
|
end
|
88
110
|
end
|
@@ -116,9 +116,40 @@ module Fastlane
|
|
116
116
|
]
|
117
117
|
end
|
118
118
|
|
119
|
+
def self.return_value
|
120
|
+
"The new version number"
|
121
|
+
end
|
122
|
+
|
119
123
|
def self.author
|
120
124
|
"serluca"
|
121
125
|
end
|
126
|
+
|
127
|
+
def self.example_code
|
128
|
+
[
|
129
|
+
'increment_version_number # Automatically increment patch version number',
|
130
|
+
'increment_version_number(
|
131
|
+
bump_type: "patch" # Automatically increment patch version number
|
132
|
+
)',
|
133
|
+
'increment_version_number(
|
134
|
+
bump_type: "minor" # Automatically increment minor version number
|
135
|
+
)',
|
136
|
+
'increment_version_number(
|
137
|
+
bump_type: "major" # Automatically increment major version number
|
138
|
+
)',
|
139
|
+
'increment_version_number(
|
140
|
+
version_number: "2.1.1" # Set a specific version number
|
141
|
+
)',
|
142
|
+
'increment_version_number(
|
143
|
+
version_number: "2.1.1", # specify specific version number (optional, omitting it increments patch version number)
|
144
|
+
xcodeproj: "./path/to/MyApp.xcodeproj" # (optional, you must specify the path to your main Xcode project if it is not in the project root directory)
|
145
|
+
)',
|
146
|
+
'version = increment_version_number'
|
147
|
+
]
|
148
|
+
end
|
149
|
+
|
150
|
+
def self.category
|
151
|
+
:project
|
152
|
+
end
|
122
153
|
end
|
123
154
|
end
|
124
155
|
end
|
@@ -68,9 +68,26 @@ module Fastlane
|
|
68
68
|
["hjanuschka"]
|
69
69
|
end
|
70
70
|
|
71
|
+
def self.details
|
72
|
+
"Installs the ipa on the device, if no id is given, the first found iOS device will be used, works via USB or Wi-Fi. This requires `ios-deploy` to be installed please have a look at [ios-deploy](https://github.com/phonegap/ios-deploy). to quickly install it, use `npm -g i ios-deploy`"
|
73
|
+
end
|
74
|
+
|
71
75
|
def self.is_supported?(platform)
|
72
76
|
platform == :ios
|
73
77
|
end
|
78
|
+
|
79
|
+
def self.example_code
|
80
|
+
[
|
81
|
+
'install_on_device(
|
82
|
+
device_id: "a3be6c9ff7e5c3c6028597513243b0f933b876d4",
|
83
|
+
ipa: "./app.ipa"
|
84
|
+
)'
|
85
|
+
]
|
86
|
+
end
|
87
|
+
|
88
|
+
def self.category
|
89
|
+
:misc
|
90
|
+
end
|
74
91
|
end
|
75
92
|
end
|
76
93
|
end
|
@@ -80,6 +80,17 @@ module Fastlane
|
|
80
80
|
def self.is_supported?(platform)
|
81
81
|
[:ios, :mac, :tvos, :watchos, :caros].include?(platform)
|
82
82
|
end
|
83
|
+
|
84
|
+
def self.example_code
|
85
|
+
[
|
86
|
+
'install_xcode_plugin(url: "https://example.com/clubmate/plugin.zip")',
|
87
|
+
'install_xcode_plugin(github: "https://github.com/contentful/ContentfulXcodePlugin")'
|
88
|
+
]
|
89
|
+
end
|
90
|
+
|
91
|
+
def self.category
|
92
|
+
:misc
|
93
|
+
end
|
83
94
|
end
|
84
95
|
end
|
85
96
|
end
|
@@ -73,7 +73,7 @@ module Fastlane
|
|
73
73
|
end),
|
74
74
|
FastlaneCore::ConfigItem.new(key: :ipa,
|
75
75
|
env_name: "INSTALLR_IPA_PATH",
|
76
|
-
description: "Path to your IPA file. Optional if you use the
|
76
|
+
description: "Path to your IPA file. Optional if you use the _gym_ or _xcodebuild_ action",
|
77
77
|
default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH],
|
78
78
|
verify_block: proc do |value|
|
79
79
|
UI.user_error!("Couldn't find build file at path '#{value}'") unless File.exist?(value)
|
@@ -109,6 +109,22 @@ module Fastlane
|
|
109
109
|
def self.is_supported?(platform)
|
110
110
|
[:ios].include?(platform)
|
111
111
|
end
|
112
|
+
|
113
|
+
def self.example_code
|
114
|
+
[
|
115
|
+
'installr(
|
116
|
+
api_token: "...",
|
117
|
+
ipa: "test.ipa",
|
118
|
+
notes: "The next great version of the app!",
|
119
|
+
notify: "dev,qa",
|
120
|
+
add: "exec,ops"
|
121
|
+
)'
|
122
|
+
]
|
123
|
+
end
|
124
|
+
|
125
|
+
def self.category
|
126
|
+
:beta
|
127
|
+
end
|
112
128
|
end
|
113
129
|
end
|
114
130
|
end
|
data/lib/fastlane/actions/ipa.rb
CHANGED
@@ -136,8 +136,9 @@ module Fastlane
|
|
136
136
|
|
137
137
|
def self.details
|
138
138
|
[
|
139
|
+
"**Note**: This action is deprecated, use _gym_ instead",
|
139
140
|
"More information on the shenzhen project page: https://github.com/nomad/shenzhen",
|
140
|
-
"To make code signing work,
|
141
|
+
"To make code signing work, follow https://docs.fastlane.tools/codesigning/xcode-project/#"
|
141
142
|
].join(' ')
|
142
143
|
end
|
143
144
|
|
@@ -210,6 +211,29 @@ module Fastlane
|
|
210
211
|
def self.author
|
211
212
|
"joshdholtz"
|
212
213
|
end
|
214
|
+
|
215
|
+
def self.example_code
|
216
|
+
[
|
217
|
+
'ipa(
|
218
|
+
workspace: "MyApp.xcworkspace",
|
219
|
+
configuration: "Debug",
|
220
|
+
scheme: "MyApp",
|
221
|
+
# (optionals)
|
222
|
+
clean: true, # This means "Do Clean". Cleans project before building (the default if not specified).
|
223
|
+
destination: "path/to/dir", # Destination directory. Defaults to current directory.
|
224
|
+
ipa: "my-app.ipa", # specify the name of the .ipa file to generate (including file extension)
|
225
|
+
xcargs: "MY_ADHOC=0", # pass additional arguments to xcodebuild when building the app.
|
226
|
+
embed: "my.mobileprovision", # Sign .ipa file with .mobileprovision
|
227
|
+
identity: "MyIdentity", # Identity to be used along with --embed
|
228
|
+
sdk: "10.0", # use SDK as the name or path of the base SDK when building the project.
|
229
|
+
archive: true # this means "Do Archive". Archive project after building (the default if not specified).
|
230
|
+
)'
|
231
|
+
]
|
232
|
+
end
|
233
|
+
|
234
|
+
def self.category
|
235
|
+
:building
|
236
|
+
end
|
213
237
|
end
|
214
238
|
end
|
215
239
|
end
|
@@ -25,13 +25,26 @@ module Fastlane
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def self.authors
|
28
|
-
# So no one will ever forget your contribution to fastlane :) You are awesome btw!
|
29
28
|
["KrauseFx"]
|
30
29
|
end
|
31
30
|
|
32
31
|
def self.is_supported?(platform)
|
33
32
|
true
|
34
33
|
end
|
34
|
+
|
35
|
+
def self.example_code
|
36
|
+
[
|
37
|
+
'if is_ci?
|
38
|
+
puts "I\'m a computer"
|
39
|
+
else
|
40
|
+
say "Hi Human!"
|
41
|
+
end'
|
42
|
+
]
|
43
|
+
end
|
44
|
+
|
45
|
+
def self.category
|
46
|
+
:misc
|
47
|
+
end
|
35
48
|
end
|
36
49
|
end
|
37
50
|
end
|
@@ -70,9 +70,6 @@ module Fastlane
|
|
70
70
|
]
|
71
71
|
end
|
72
72
|
|
73
|
-
def self.output
|
74
|
-
end
|
75
|
-
|
76
73
|
def self.return_value
|
77
74
|
end
|
78
75
|
|
@@ -83,6 +80,22 @@ module Fastlane
|
|
83
80
|
def self.is_supported?(platform)
|
84
81
|
true
|
85
82
|
end
|
83
|
+
|
84
|
+
def self.example_code
|
85
|
+
[
|
86
|
+
'jira(
|
87
|
+
url: "https://bugs.yourdomain.com",
|
88
|
+
username: "Your username",
|
89
|
+
password: "Your password",
|
90
|
+
ticket_id: "Ticket ID, i.e. IOS-123",
|
91
|
+
comment_text: "Text to post as a comment"
|
92
|
+
)'
|
93
|
+
]
|
94
|
+
end
|
95
|
+
|
96
|
+
def self.category
|
97
|
+
:misc
|
98
|
+
end
|
86
99
|
end
|
87
100
|
end
|
88
101
|
end
|
@@ -24,6 +24,29 @@ module Fastlane
|
|
24
24
|
def self.is_supported?(platform)
|
25
25
|
true
|
26
26
|
end
|
27
|
+
|
28
|
+
def self.example_code
|
29
|
+
[
|
30
|
+
'commit = last_git_commit
|
31
|
+
crashlytics(notes: commit[:message]) # message of commit
|
32
|
+
author = commit[:author] # author of the commit
|
33
|
+
hash = commit[:commit_hash] # long sha of commit
|
34
|
+
short_hash = commit[:abbreviated_commit_hash] # short sha of commit'
|
35
|
+
]
|
36
|
+
end
|
37
|
+
|
38
|
+
def self.category
|
39
|
+
:source_control
|
40
|
+
end
|
41
|
+
|
42
|
+
def self.sample_return_value
|
43
|
+
{
|
44
|
+
message: "message",
|
45
|
+
author: "author",
|
46
|
+
commit_hash: "commit_hash",
|
47
|
+
abbreviated_commit_hash: "short_hash"
|
48
|
+
}
|
49
|
+
end
|
27
50
|
end
|
28
51
|
end
|
29
52
|
end
|
@@ -28,6 +28,20 @@ module Fastlane
|
|
28
28
|
def self.is_supported?(platform)
|
29
29
|
true
|
30
30
|
end
|
31
|
+
|
32
|
+
def self.details
|
33
|
+
"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')`"
|
34
|
+
end
|
35
|
+
|
36
|
+
def self.example_code
|
37
|
+
[
|
38
|
+
'last_git_tag'
|
39
|
+
]
|
40
|
+
end
|
41
|
+
|
42
|
+
def self.category
|
43
|
+
:source_control
|
44
|
+
end
|
31
45
|
end
|
32
46
|
end
|
33
47
|
end
|
@@ -56,7 +56,10 @@ module Fastlane
|
|
56
56
|
end
|
57
57
|
|
58
58
|
def self.details
|
59
|
-
|
59
|
+
[
|
60
|
+
"Provides a way to have increment_build_number be based on the latest build you uploaded to iTC.",
|
61
|
+
"Fetches most recent build number from TestFlight based on the version number. Provides a way to have `increment_build_number` be based on the latest build you uploaded to iTC."
|
62
|
+
].join("\n")
|
60
63
|
end
|
61
64
|
|
62
65
|
def self.available_options
|
@@ -108,6 +111,23 @@ module Fastlane
|
|
108
111
|
def self.is_supported?(platform)
|
109
112
|
platform == :ios
|
110
113
|
end
|
114
|
+
|
115
|
+
def self.example_code
|
116
|
+
[
|
117
|
+
'latest_testflight_build_number(version: "1.3")',
|
118
|
+
'increment_build_number({
|
119
|
+
build_number: latest_testflight_build_number + 1
|
120
|
+
})'
|
121
|
+
]
|
122
|
+
end
|
123
|
+
|
124
|
+
def self.sample_return_value
|
125
|
+
2
|
126
|
+
end
|
127
|
+
|
128
|
+
def self.category
|
129
|
+
:misc
|
130
|
+
end
|
111
131
|
end
|
112
132
|
end
|
113
133
|
end
|
@@ -83,6 +83,20 @@ module Fastlane
|
|
83
83
|
def self.exclude_dirs
|
84
84
|
["/Applications/*", "/Frameworks/*"]
|
85
85
|
end
|
86
|
+
|
87
|
+
def self.example_code
|
88
|
+
[
|
89
|
+
'lcov(
|
90
|
+
project_name: "ProjectName",
|
91
|
+
scheme: "yourScheme",
|
92
|
+
output_dir: "cov_reports" # This value is optional. Default is coverage_reports
|
93
|
+
)'
|
94
|
+
]
|
95
|
+
end
|
96
|
+
|
97
|
+
def self.category
|
98
|
+
:testing
|
99
|
+
end
|
86
100
|
end
|
87
101
|
end
|
88
102
|
end
|
@@ -128,6 +128,31 @@ module Fastlane
|
|
128
128
|
end
|
129
129
|
eth.render(html_template, hash)
|
130
130
|
end
|
131
|
+
|
132
|
+
def self.example_code
|
133
|
+
[
|
134
|
+
'mailgun(
|
135
|
+
to: "fastlane@krausefx.com",
|
136
|
+
success: true,
|
137
|
+
message: "This is the mail\'s content"
|
138
|
+
)',
|
139
|
+
'mailgun(
|
140
|
+
postmaster: "MY_POSTMASTER",
|
141
|
+
apikey: "MY_API_KEY",
|
142
|
+
to: "DESTINATION_EMAIL",
|
143
|
+
from: "EMAIL_FROM_NAME",
|
144
|
+
success: true,
|
145
|
+
message: "Mail Body",
|
146
|
+
app_link: "http://www.myapplink.com",
|
147
|
+
ci_build_link: "http://www.mycibuildlink.com",
|
148
|
+
template_path: "HTML_TEMPLATE_PATH"
|
149
|
+
)'
|
150
|
+
]
|
151
|
+
end
|
152
|
+
|
153
|
+
def self.category
|
154
|
+
:notifications
|
155
|
+
end
|
131
156
|
end
|
132
157
|
end
|
133
158
|
end
|