fastlane 1.66.0 → 1.67.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +37 -38
- data/lib/assets/AppfileTemplate +1 -1
- data/lib/assets/DefaultFastfileTemplate +2 -2
- data/lib/assets/FastfileTemplateAndroid +2 -2
- data/lib/assets/custom_action_template.rb +1 -1
- data/lib/fastlane/actions/actions_helper.rb +2 -2
- data/lib/fastlane/actions/appetize.rb +15 -16
- data/lib/fastlane/actions/appium.rb +1 -1
- data/lib/fastlane/actions/appledoc.rb +3 -3
- data/lib/fastlane/actions/artifactory.rb +7 -7
- data/lib/fastlane/actions/backup_file.rb +1 -1
- data/lib/fastlane/actions/backup_xcarchive.rb +1 -1
- data/lib/fastlane/actions/bundle_install.rb +2 -2
- data/lib/fastlane/actions/cert.rb +1 -1
- data/lib/fastlane/actions/changelog_from_git_commits.rb +2 -2
- data/lib/fastlane/actions/chatwork.rb +2 -2
- data/lib/fastlane/actions/clean_build_artifacts.rb +3 -2
- data/lib/fastlane/actions/clean_cocoapods_cache.rb +1 -1
- data/lib/fastlane/actions/clear_derived_data.rb +2 -2
- data/lib/fastlane/actions/clipboard.rb +1 -1
- data/lib/fastlane/actions/commit_version_bump.rb +3 -3
- data/lib/fastlane/actions/copy_artifacts.rb +2 -2
- data/lib/fastlane/actions/crashlytics.rb +6 -6
- data/lib/fastlane/actions/create_pull_request.rb +3 -3
- data/lib/fastlane/actions/deploygate.rb +6 -6
- data/lib/fastlane/actions/dotgpg_environment.rb +1 -1
- data/lib/fastlane/actions/download.rb +1 -1
- data/lib/fastlane/actions/download_dsyms.rb +117 -0
- data/lib/fastlane/actions/ensure_git_branch.rb +1 -1
- data/lib/fastlane/actions/ensure_git_status_clean.rb +1 -1
- data/lib/fastlane/actions/ensure_no_debug_code.rb +26 -12
- data/lib/fastlane/actions/ensure_xcode_version.rb +3 -3
- data/lib/fastlane/actions/erb.rb +1 -1
- data/lib/fastlane/actions/fastlane_version.rb +1 -1
- data/lib/fastlane/actions/frameit.rb +1 -1
- data/lib/fastlane/actions/gcovr.rb +2 -2
- data/lib/fastlane/actions/get_build_number.rb +1 -1
- data/lib/fastlane/actions/get_github_release.rb +6 -6
- data/lib/fastlane/actions/get_info_plist_value.rb +2 -2
- data/lib/fastlane/actions/get_ipa_info_plist_value.rb +2 -2
- data/lib/fastlane/actions/get_version_number.rb +1 -1
- data/lib/fastlane/actions/git_add.rb +1 -1
- data/lib/fastlane/actions/git_commit.rb +1 -1
- data/lib/fastlane/actions/gradle.rb +2 -2
- data/lib/fastlane/actions/gym.rb +1 -1
- data/lib/fastlane/actions/hg_add_tag.rb +1 -1
- data/lib/fastlane/actions/hg_commit_version_bump.rb +3 -3
- data/lib/fastlane/actions/hg_ensure_clean_status.rb +1 -1
- data/lib/fastlane/actions/hg_push.rb +1 -1
- data/lib/fastlane/actions/hipchat.rb +4 -6
- data/lib/fastlane/actions/hockey.rb +4 -4
- data/lib/fastlane/actions/ifttt.rb +74 -0
- data/lib/fastlane/actions/increment_build_number.rb +1 -1
- data/lib/fastlane/actions/increment_version_number.rb +3 -3
- data/lib/fastlane/actions/install_on_device.rb +1 -1
- data/lib/fastlane/actions/install_xcode_plugin.rb +2 -2
- data/lib/fastlane/actions/installr.rb +2 -2
- data/lib/fastlane/actions/ipa.rb +8 -8
- data/lib/fastlane/actions/latest_testflight_build_number.rb +3 -3
- data/lib/fastlane/actions/lcov.rb +1 -1
- data/lib/fastlane/actions/mailgun.rb +1 -1
- data/lib/fastlane/actions/match.rb +2 -2
- data/lib/fastlane/actions/notify.rb +1 -1
- data/lib/fastlane/actions/oclint.rb +2 -2
- data/lib/fastlane/actions/onesignal.rb +3 -3
- data/lib/fastlane/actions/opt_out_usage.rb +1 -1
- data/lib/fastlane/actions/pilot.rb +1 -1
- data/lib/fastlane/actions/pod_push.rb +2 -2
- data/lib/fastlane/actions/produce.rb +1 -1
- data/lib/fastlane/actions/prompt.rb +3 -3
- data/lib/fastlane/actions/push_git_tags.rb +1 -1
- data/lib/fastlane/actions/push_to_git_remote.rb +1 -1
- data/lib/fastlane/actions/read_podspec.rb +1 -1
- data/lib/fastlane/actions/recreate_schemes.rb +1 -1
- data/lib/fastlane/actions/register_devices.rb +2 -2
- data/lib/fastlane/actions/reset_git_repo.rb +3 -3
- data/lib/fastlane/actions/resign.rb +7 -2
- data/lib/fastlane/actions/restore_file.rb +1 -1
- data/lib/fastlane/actions/rocket.rb +64 -0
- data/lib/fastlane/actions/s3.rb +33 -101
- data/lib/fastlane/actions/scan.rb +1 -1
- data/lib/fastlane/actions/scp.rb +2 -2
- data/lib/fastlane/actions/set_changelog.rb +12 -12
- data/lib/fastlane/actions/set_github_release.rb +14 -14
- data/lib/fastlane/actions/set_info_plist_value.rb +2 -2
- data/lib/fastlane/actions/sigh.rb +1 -1
- data/lib/fastlane/actions/slack.rb +2 -2
- data/lib/fastlane/actions/ssh.rb +4 -4
- data/lib/fastlane/actions/supply.rb +1 -1
- data/lib/fastlane/actions/team_id.rb +1 -1
- data/lib/fastlane/actions/team_name.rb +1 -1
- data/lib/fastlane/actions/testfairy.rb +4 -4
- data/lib/fastlane/actions/testmunk.rb +3 -3
- data/lib/fastlane/actions/tryouts.rb +3 -3
- data/lib/fastlane/actions/twitter.rb +1 -1
- data/lib/fastlane/actions/typetalk.rb +1 -1
- data/lib/fastlane/actions/update_app_group_identifiers.rb +4 -4
- data/lib/fastlane/actions/update_app_identifier.rb +4 -4
- data/lib/fastlane/actions/update_fastlane.rb +22 -13
- data/lib/fastlane/actions/update_info_plist.rb +4 -4
- data/lib/fastlane/actions/update_project_code_signing.rb +5 -5
- data/lib/fastlane/actions/update_project_provisioning.rb +10 -10
- data/lib/fastlane/actions/update_project_team.rb +2 -2
- data/lib/fastlane/actions/upload_symbols_to_crashlytics.rb +104 -0
- data/lib/fastlane/actions/upload_symbols_to_sentry.rb +119 -0
- data/lib/fastlane/actions/verify_pod_keys.rb +2 -2
- data/lib/fastlane/actions/verify_xcode.rb +10 -10
- data/lib/fastlane/actions/xcode_install.rb +2 -2
- data/lib/fastlane/actions/xcode_select.rb +1 -1
- data/lib/fastlane/actions/xcode_server_get_assets.rb +8 -8
- data/lib/fastlane/actions/xcodebuild.rb +7 -7
- data/lib/fastlane/actions/xcov.rb +6 -0
- data/lib/fastlane/actions/xctool.rb +2 -2
- data/lib/fastlane/command_line_handler.rb +1 -1
- data/lib/fastlane/configuration_helper.rb +2 -2
- data/lib/fastlane/core_ext/bundler_monkey_patch.rb +14 -0
- data/lib/fastlane/core_ext/string.rb +4 -4
- data/lib/fastlane/documentation/actions_list.rb +2 -2
- data/lib/fastlane/documentation/docs_generator.rb +3 -3
- data/lib/fastlane/fast_file.rb +6 -6
- data/lib/fastlane/helper/crashlytics_helper.rb +1 -1
- data/lib/fastlane/helper/git_helper.rb +2 -2
- data/lib/fastlane/one_off.rb +1 -1
- data/lib/fastlane/runner.rb +1 -1
- data/lib/fastlane/setup/setup.rb +7 -7
- data/lib/fastlane/setup/setup_android.rb +13 -13
- data/lib/fastlane/setup/setup_ios.rb +24 -27
- data/lib/fastlane/version.rb +1 -1
- metadata +66 -32
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5d82ee8100e0652407019c36478c5da8bc34352
|
4
|
+
data.tar.gz: ad22ea1701ae1880d858a71345b95421e5ebacf3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87fb250f8a51b53599075fc53dca430df5e520aa48bf396b56f70aaa529340d1ab49883b572366d53688c7fdeb32204d52b30c6fcc889c1bcf938ce5e40df8d7
|
7
|
+
data.tar.gz: f632ae99759937990e7f2bbe33c09027cee9ad0101416216f3640619c00ce23a29f2c8fe1858b7562b08247ae7bca57805522adf1538a8d6b64be6081c438dd7
|
data/README.md
CHANGED
@@ -2,19 +2,19 @@
|
|
2
2
|
<img src="assets/fastlane_text.png" alt="fastlane Logo" />
|
3
3
|
</h3>
|
4
4
|
<p align="center">
|
5
|
-
<a href="https://github.com/fastlane/deliver">deliver</a> •
|
6
|
-
<a href="https://github.com/fastlane/snapshot">snapshot</a> •
|
7
|
-
<a href="https://github.com/fastlane/frameit">frameit</a> •
|
8
|
-
<a href="https://github.com/fastlane/pem">pem</a> •
|
9
|
-
<a href="https://github.com/fastlane/sigh">sigh</a> •
|
10
|
-
<a href="https://github.com/fastlane/produce">produce</a> •
|
11
|
-
<a href="https://github.com/fastlane/cert">cert</a> •
|
12
|
-
<a href="https://github.com/fastlane/spaceship">spaceship</a> •
|
13
|
-
<a href="https://github.com/fastlane/pilot">pilot</a> •
|
5
|
+
<a href="https://github.com/fastlane/fastlane/tree/master/deliver">deliver</a> •
|
6
|
+
<a href="https://github.com/fastlane/fastlane/tree/master/snapshot">snapshot</a> •
|
7
|
+
<a href="https://github.com/fastlane/fastlane/tree/master/frameit">frameit</a> •
|
8
|
+
<a href="https://github.com/fastlane/fastlane/tree/master/pem">pem</a> •
|
9
|
+
<a href="https://github.com/fastlane/fastlane/tree/master/sigh">sigh</a> •
|
10
|
+
<a href="https://github.com/fastlane/fastlane/tree/master/produce">produce</a> •
|
11
|
+
<a href="https://github.com/fastlane/fastlane/tree/master/cert">cert</a> •
|
12
|
+
<a href="https://github.com/fastlane/fastlane/tree/master/spaceship">spaceship</a> •
|
13
|
+
<a href="https://github.com/fastlane/fastlane/tree/master/pilot">pilot</a> •
|
14
14
|
<a href="https://github.com/fastlane/boarding">boarding</a> •
|
15
|
-
<a href="https://github.com/fastlane/gym">gym</a> •
|
16
|
-
<a href="https://github.com/fastlane/scan">scan</a> •
|
17
|
-
<a href="https://github.com/fastlane/match">match</a>
|
15
|
+
<a href="https://github.com/fastlane/fastlane/tree/master/gym">gym</a> •
|
16
|
+
<a href="https://github.com/fastlane/fastlane/tree/master/scan">scan</a> •
|
17
|
+
<a href="https://github.com/fastlane/fastlane/tree/master/match">match</a>
|
18
18
|
</p>
|
19
19
|
-------
|
20
20
|
|
@@ -22,9 +22,9 @@ fastlane
|
|
22
22
|
============
|
23
23
|
|
24
24
|
[![Twitter: @FastlaneTools](https://img.shields.io/badge/contact-@FastlaneTools-blue.svg?style=flat)](https://twitter.com/FastlaneTools)
|
25
|
-
[![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/fastlane/fastlane/blob/master/LICENSE)
|
25
|
+
[![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/fastlane/fastlane/blob/master/fastlane/LICENSE)
|
26
26
|
[![Gem](https://img.shields.io/gem/v/fastlane.svg?style=flat)](http://rubygems.org/gems/fastlane)
|
27
|
-
[![Build Status](https://img.shields.io/
|
27
|
+
[![Build Status](https://img.shields.io/circleci/project/fastlane/fastlane/master.svg?style=flat)](https://circleci.com/gh/fastlane/fastlane)
|
28
28
|
|
29
29
|
######*fastlane* lets you define and run your deployment pipelines for different environments. It helps you unify your apps release process and automate the whole process. fastlane connects all fastlane tools and third party tools, like [CocoaPods](https://cocoapods.org/) and [Slack](https://slack.com).
|
30
30
|
|
@@ -35,8 +35,8 @@ Get in contact with the developer on Twitter: [@FastlaneTools](https://twitter.c
|
|
35
35
|
<a href="#features">Features</a> •
|
36
36
|
<a href="#installation">Installation</a> •
|
37
37
|
<a href="#quick-start">Quick Start</a> •
|
38
|
-
<a href="#examples">Example Setups</a> •
|
39
|
-
<a href="https://github.com/fastlane/fastlane/tree/master/docs">Documentation</a> •
|
38
|
+
<a href="#examples">Example Setups</a> •
|
39
|
+
<a href="https://github.com/fastlane/fastlane/tree/master/fastlane/docs">Documentation</a> •
|
40
40
|
<a href="#need-help">Need help?</a>
|
41
41
|
</p>
|
42
42
|
|
@@ -52,7 +52,7 @@ Store your configuration in a text file to easily test, build, and deploy from _
|
|
52
52
|
|
53
53
|
Define different environments (`lanes`) in your `Fastfile`: Examples are: `appstore`, `beta` and `test`.
|
54
54
|
|
55
|
-
You define a `lane` like this (more details about the commands in the [Actions](https://github.com/fastlane/fastlane/blob/master/docs/Actions.md) documentation):
|
55
|
+
You define a `lane` like this (more details about the commands in the [Actions](https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md) documentation):
|
56
56
|
|
57
57
|
```ruby
|
58
58
|
lane :appstore do
|
@@ -79,7 +79,7 @@ fastlane appstore
|
|
79
79
|
:sparkles: | Connect all iOS and Android build tools into one workflow (both `fastlane` tools and third party tools)
|
80
80
|
:monorail: | Define different `deployment lanes` for App Store deployment, beta builds or testing
|
81
81
|
:ship: | Deploy from any computer, including a CI-server
|
82
|
-
:wrench: | Extend and customise the functionality
|
82
|
+
:wrench: | Extend and customise the functionality
|
83
83
|
:thought_balloon: | Never remember any difficult commands, just `fastlane`
|
84
84
|
:tophat: | Easy setup assistant to get started in a few minutes
|
85
85
|
:email: | Automatically pass on information from one build step to another (e.g. path to the `ipa` file)
|
@@ -87,7 +87,7 @@ fastlane appstore
|
|
87
87
|
:rocket: | Saves you **hours** for every app update you release
|
88
88
|
:pencil2: | Very flexible configuration using a fully customisable `Fastfile`
|
89
89
|
:mountain_cableway: | Implement a fully working Continuous Delivery process
|
90
|
-
:ghost: | [Jenkins Integration](https://github.com/fastlane/fastlane/blob/master/docs/Jenkins.md): Show the output directly in the Jenkins test results
|
90
|
+
:ghost: | [Jenkins Integration](https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Jenkins.md): Show the output directly in the Jenkins test results
|
91
91
|
:book: | Automatically generate a markdown documentation of your lane config
|
92
92
|
:hatching_chick: | Over 150 built-in integrations available
|
93
93
|
:computer: | Support for both iOS, Mac OS and Android apps
|
@@ -100,7 +100,7 @@ fastlane appstore
|
|
100
100
|
|
101
101
|
## Installation
|
102
102
|
|
103
|
-
I recommend following the [fastlane guide](https://github.com/fastlane/fastlane/blob/master/docs/Guide.md) to get started.
|
103
|
+
I recommend following the [fastlane guide](https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Guide.md) to get started.
|
104
104
|
|
105
105
|
sudo gem install fastlane --verbose
|
106
106
|
|
@@ -126,9 +126,9 @@ The setup assistant will create all the necessary files for you, using the exist
|
|
126
126
|
- ```cd [your_project_folder]```
|
127
127
|
- ```fastlane init```
|
128
128
|
- Follow the setup assistant, which will set up ```fastlane``` for you
|
129
|
-
- Further customise the ```Fastfile``` with [actions](https://github.com/fastlane/fastlane/blob/master/docs/Actions.md).
|
129
|
+
- Further customise the ```Fastfile``` with [actions](https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md).
|
130
130
|
|
131
|
-
For more details, please follow the [fastlane guide](https://github.com/fastlane/fastlane/blob/master/docs/Guide.md) or [documentation](https://github.com/fastlane/fastlane/tree/master/docs).
|
131
|
+
For more details, please follow the [fastlane guide](https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Guide.md) or [documentation](https://github.com/fastlane/fastlane/tree/master/fastlane/docs).
|
132
132
|
|
133
133
|
There are also 2 Japanese fastlane guides available: [qiita](http://qiita.com/gin0606/items/a8573b582752de0c15e1) and [mercari](http://tech.mercari.com/entry/2015/07/13/143000)
|
134
134
|
|
@@ -144,7 +144,7 @@ Usually you'll use fastlane by triggering individual lanes:
|
|
144
144
|
- `fastlane action [action_name]`: Shows a more detailed description of an action
|
145
145
|
- `fastlane lanes`: Lists all available lanes with description
|
146
146
|
- `fastlane list`: Lists all available lanes without description
|
147
|
-
- `fastlane new_action`: Create a new action (integration) for fastlane
|
147
|
+
- `fastlane new_action`: Create a new action (integration) for fastlane
|
148
148
|
|
149
149
|
## Examples
|
150
150
|
|
@@ -154,19 +154,18 @@ See how [Wikipedia](https://github.com/fastlane/examples#wikipedia-by-wikimedia-
|
|
154
154
|
|
155
155
|
`fastlane` is designed to make your life easier by bringing together all `fastlane` tools
|
156
156
|
|
157
|
-
- [`deliver`](https://github.com/fastlane/deliver): Upload screenshots, metadata and your app to the App Store
|
158
|
-
- [`snapshot`](https://github.com/fastlane/snapshot): Automate taking localized screenshots of your iOS app on every device
|
159
|
-
- [`frameit`](https://github.com/fastlane/frameit): Quickly put your screenshots into the right device frames
|
160
|
-
- [`pem`](https://github.com/fastlane/pem): Automatically generate and renew your push notification profiles
|
161
|
-
- [`sigh`](https://github.com/fastlane/sigh): Because you would rather spend your time building stuff than fighting provisioning
|
162
|
-
- [`produce`](https://github.com/fastlane/produce): Create new iOS apps on iTunes Connect and Dev Portal using the command line
|
163
|
-
- [`cert`](https://github.com/fastlane/cert): Automatically create and maintain iOS code signing certificates
|
164
|
-
- [`
|
165
|
-
- [`
|
166
|
-
- [`
|
167
|
-
- [`
|
168
|
-
- [`
|
169
|
-
- [`match`](https://github.com/fastlane/match): Easily sync your certificates and profiles across your team using git
|
157
|
+
- [`deliver`](https://github.com/fastlane/fastlane/tree/master/deliver): Upload screenshots, metadata and your app to the App Store
|
158
|
+
- [`snapshot`](https://github.com/fastlane/fastlane/tree/master/snapshot): Automate taking localized screenshots of your iOS app on every device
|
159
|
+
- [`frameit`](https://github.com/fastlane/fastlane/tree/master/frameit): Quickly put your screenshots into the right device frames
|
160
|
+
- [`pem`](https://github.com/fastlane/fastlane/tree/master/pem): Automatically generate and renew your push notification profiles
|
161
|
+
- [`sigh`](https://github.com/fastlane/fastlane/tree/master/sigh): Because you would rather spend your time building stuff than fighting provisioning
|
162
|
+
- [`produce`](https://github.com/fastlane/fastlane/tree/master/produce): Create new iOS apps on iTunes Connect and Dev Portal using the command line
|
163
|
+
- [`cert`](https://github.com/fastlane/fastlane/tree/master/cert): Automatically create and maintain iOS code signing certificates
|
164
|
+
- [`spaceship`](https://github.com/fastlane/fastlane/tree/master/spaceship): Ruby library to access the Apple Dev Center and iTunes Connect
|
165
|
+
- [`pilot`](https://github.com/fastlane/fastlane/tree/master/pilot): The best way to manage your TestFlight testers and builds from your terminal
|
166
|
+
- [`boarding`](https://github.com/fastlane/boarding): The easiest way to invite your TestFlight beta testers
|
167
|
+
- [`gym`](https://github.com/fastlane/fastlane/tree/master/gym): Building your iOS apps has never been easier
|
168
|
+
- [`match`](https://github.com/fastlane/fastlane/tree/master/match): Easily sync your certificates and profiles across your team using git
|
170
169
|
|
171
170
|
## Statistics
|
172
171
|
|
@@ -177,7 +176,7 @@ You can easily opt-out by adding `opt_out_usage` to your `Fastfile` or by settin
|
|
177
176
|
You can optionally submit crash reports, run `fastlane enable_crash_reporting` to get started. This makes resolving issues much easier and helps improve fastlane. [More information](https://github.com/fastlane/fastlane/releases/tag/1.33.3)
|
178
177
|
|
179
178
|
## Credentials
|
180
|
-
A detailed description about how `fastlane` stores your credentials is available on a [separate repo](https://github.com/fastlane/credentials_manager).
|
179
|
+
A detailed description about how `fastlane` stores your credentials is available on a [separate repo](https://github.com/fastlane/fastlane/tree/master/credentials_manager).
|
181
180
|
|
182
181
|
## Need help?
|
183
182
|
Please submit an issue on GitHub and provide information about your setup
|
@@ -188,7 +187,7 @@ Thanks to all [contributors](https://github.com/fastlane/fastlane/graphs/contrib
|
|
188
187
|
|
189
188
|
## Code of Conduct
|
190
189
|
|
191
|
-
Help us keep `fastlane` open and inclusive. Please read and follow our [Code of Conduct](https://github.com/fastlane/
|
190
|
+
Help us keep `fastlane` open and inclusive. Please read and follow our [Code of Conduct](https://github.com/fastlane/fastlane/blob/master/CODE_OF_CONDUCT.md).
|
192
191
|
|
193
192
|
## License
|
194
193
|
This project is licensed under the terms of the MIT license. See the LICENSE file.
|
data/lib/assets/AppfileTemplate
CHANGED
@@ -4,4 +4,4 @@ apple_id "[[APPLE_ID]]" # Your Apple email address
|
|
4
4
|
team_id "[[DEV_PORTAL_TEAM_ID]]" # Developer Portal Team ID
|
5
5
|
[[ITC_TEAM]]
|
6
6
|
# you can even provide different app identifiers, Apple IDs and team names per lane:
|
7
|
-
# More information: https://github.com/fastlane/fastlane/blob/master/docs/Appfile.md
|
7
|
+
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# Customise this file, documentation can be found here:
|
2
2
|
# https://github.com/fastlane/fastlane/tree/master/docs
|
3
|
-
# All available actions: https://github.com/fastlane/fastlane/blob/master/docs/Actions.md
|
3
|
+
# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md
|
4
4
|
# can also be listed using the `fastlane actions` command
|
5
5
|
|
6
6
|
# Change the syntax highlighting to Ruby
|
@@ -73,4 +73,4 @@ end
|
|
73
73
|
|
74
74
|
|
75
75
|
# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/docs/Platforms.md
|
76
|
-
# All available actions: https://github.com/fastlane/fastlane/blob/master/docs/Actions.md
|
76
|
+
# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# Customise this file, documentation can be found here:
|
2
2
|
# https://github.com/fastlane/fastlane/tree/master/docs
|
3
|
-
# All available actions: https://github.com/fastlane/fastlane/blob/master/docs/Actions.md
|
3
|
+
# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md
|
4
4
|
# can also be listed using the `fastlane actions` command
|
5
5
|
|
6
6
|
# Change the syntax highlighting to Ruby
|
@@ -65,4 +65,4 @@ end
|
|
65
65
|
|
66
66
|
|
67
67
|
# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/docs/Platforms.md
|
68
|
-
# All available actions: https://github.com/fastlane/fastlane/blob/master/docs/Actions.md
|
68
|
+
# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md
|
@@ -5,7 +5,7 @@ module Fastlane
|
|
5
5
|
end
|
6
6
|
|
7
7
|
# To share this integration with the other fastlane users:
|
8
|
-
# - Fork https://github.com/fastlane/fastlane
|
8
|
+
# - Fork https://github.com/fastlane/fastlane/tree/master/fastlane
|
9
9
|
# - Clone the forked repository
|
10
10
|
# - Move this integration into lib/fastlane/actions
|
11
11
|
# - Commit, push and submit the pull request
|
@@ -90,13 +90,13 @@ module Fastlane
|
|
90
90
|
UI.success "Successfully loaded custom action '#{file}'."
|
91
91
|
else
|
92
92
|
UI.error "Could not find method 'run' in class #{class_name}."
|
93
|
-
UI.error 'For more information, check out the docs: https://github.com/fastlane/fastlane'
|
93
|
+
UI.error 'For more information, check out the docs: https://github.com/fastlane/fastlane/tree/master/fastlane'
|
94
94
|
UI.user_error!("Action '#{file_name}' is damaged!")
|
95
95
|
end
|
96
96
|
rescue NameError
|
97
97
|
# Action not found
|
98
98
|
UI.error "Could not find '#{class_name}' class defined."
|
99
|
-
UI.error 'For more information, check out the docs: https://github.com/fastlane/fastlane'
|
99
|
+
UI.error 'For more information, check out the docs: https://github.com/fastlane/fastlane/tree/master/fastlane'
|
100
100
|
UI.user_error!("Action '#{file_name}' is damaged!")
|
101
101
|
end
|
102
102
|
end
|
@@ -30,15 +30,15 @@ module Fastlane
|
|
30
30
|
platform: 'ios'
|
31
31
|
}
|
32
32
|
|
33
|
-
params
|
33
|
+
params[:privateKey] = options[:private_key] unless options[:private_key].nil?
|
34
34
|
req.body = JSON.generate(params)
|
35
35
|
response = https.request(req)
|
36
36
|
|
37
37
|
raise 'Error when trying to upload ipa to Appetize.io'.red unless parse_response(response)
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
38
|
+
UI.message("App URL: #{Actions.lane_context[SharedValues::APPETIZE_APP_URL]}")
|
39
|
+
UI.message("Manage URL: #{Actions.lane_context[SharedValues::APPETIZE_MANAGE_URL]}")
|
40
|
+
UI.message("App Private Key: #{Actions.lane_context[SharedValues::APPETIZE_PRIVATE_KEY]}")
|
41
|
+
UI.success("Build successfully uploaded to Appetize.io")
|
42
42
|
end
|
43
43
|
|
44
44
|
def self.parse_response(response)
|
@@ -54,23 +54,22 @@ module Fastlane
|
|
54
54
|
Actions.lane_context[SharedValues::APPETIZE_MANAGE_URL] = manage_url
|
55
55
|
return true
|
56
56
|
rescue
|
57
|
-
|
57
|
+
UI.error("Error uploading to Appetize.io: #{response.body}")
|
58
58
|
help_message(response)
|
59
59
|
return false
|
60
60
|
end
|
61
61
|
private_class_method :parse_response
|
62
62
|
|
63
63
|
def self.help_message(response)
|
64
|
-
message =
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
Helper.log.error message.red if message
|
64
|
+
message = case response.body
|
65
|
+
when 'Invalid token'
|
66
|
+
'Invalid API Token specified.'
|
67
|
+
when 'Error downloading zip file'
|
68
|
+
'URL should be wrong'
|
69
|
+
when 'No app with specified privateKey found'
|
70
|
+
'Invalid privateKey specified'
|
71
|
+
end
|
72
|
+
UI.error(message) if message
|
74
73
|
end
|
75
74
|
private_class_method :help_message
|
76
75
|
|
@@ -54,7 +54,7 @@ module Fastlane
|
|
54
54
|
|
55
55
|
def self.run(params)
|
56
56
|
unless Helper.test?
|
57
|
-
|
57
|
+
UI.message("Install using `brew install homebrew/boneyard/appledoc`")
|
58
58
|
raise "appledoc not installed".red if `which appledoc`.length == 0
|
59
59
|
end
|
60
60
|
|
@@ -68,10 +68,10 @@ module Fastlane
|
|
68
68
|
|
69
69
|
# Maps parameter hash to CLI args
|
70
70
|
appledoc_args = params_hash_to_cli_args(params_hash)
|
71
|
-
|
71
|
+
UI.success("Generating documentation.")
|
72
72
|
cli_args = appledoc_args.join(' ')
|
73
73
|
command = "appledoc #{cli_args}".strip + " \"#{params_hash[:input]}\""
|
74
|
-
|
74
|
+
UI.verbose(command)
|
75
75
|
Actions.sh command
|
76
76
|
end
|
77
77
|
|
@@ -15,15 +15,15 @@ module Fastlane
|
|
15
15
|
"sha1" => Digest::SHA1.file(file_path),
|
16
16
|
"md5" => Digest::MD5.file(file_path)
|
17
17
|
}
|
18
|
-
|
18
|
+
UI.message("Uploading file: #{artifact.local_path} ...")
|
19
19
|
upload = artifact.upload(params[:repo], params[:repo_path], params[:properties])
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
20
|
+
UI.message("Uploaded Artifact:")
|
21
|
+
UI.message("Repo: #{upload.repo}")
|
22
|
+
UI.message("URI: #{upload.uri}")
|
23
|
+
UI.message("Size: #{upload.size}")
|
24
|
+
UI.message("SHA1: #{upload.sha1}")
|
25
25
|
else
|
26
|
-
|
26
|
+
UI.message("File not found: '#{file_path}'")
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
@@ -29,7 +29,7 @@ module Fastlane
|
|
29
29
|
# Save archive to destination
|
30
30
|
if zipped
|
31
31
|
Dir.mktmpdir("backup_xcarchive") do |dir|
|
32
|
-
|
32
|
+
UI.message("Compressing #{xcarchive}")
|
33
33
|
xcarchive_folder = File.expand_path(File.dirname(xcarchive))
|
34
34
|
xcarchive_file = File.basename(xcarchive)
|
35
35
|
zip_file = File.join(dir, "#{xcarchive_file}.zip")
|
@@ -28,7 +28,7 @@ module Fastlane
|
|
28
28
|
|
29
29
|
return sh(cmd.join(' '))
|
30
30
|
else
|
31
|
-
|
31
|
+
UI.message("No Gemfile found")
|
32
32
|
end
|
33
33
|
end
|
34
34
|
# rubocop:enable Metrics/CyclomaticComplexity
|
@@ -40,7 +40,7 @@ module Fastlane
|
|
40
40
|
possible_gemfiles.each do |gemfile|
|
41
41
|
gemfile = File.absolute_path(gemfile)
|
42
42
|
return true if File.exist?(gemfile)
|
43
|
-
|
43
|
+
UI.message("Gemfile not found at: '#{gemfile}'")
|
44
44
|
end
|
45
45
|
return false
|
46
46
|
end
|
@@ -22,7 +22,7 @@ module Fastlane
|
|
22
22
|
Actions.lane_context[SharedValues::CERT_FILE_PATH] = cert_file_path
|
23
23
|
Actions.lane_context[SharedValues::CERT_CERTIFICATE_ID] = certificate_id
|
24
24
|
|
25
|
-
|
25
|
+
UI.success("Use signing certificate '#{certificate_id}' from now on!")
|
26
26
|
|
27
27
|
ENV["SIGH_CERTIFICATE_ID"] = certificate_id # for further use in the sigh action
|
28
28
|
ensure
|
@@ -10,11 +10,11 @@ module Fastlane
|
|
10
10
|
from, to = params[:between]
|
11
11
|
else
|
12
12
|
from = Actions.last_git_tag_name(params[:match_lightweight_tag], params[:tag_match_pattern])
|
13
|
-
|
13
|
+
UI.verbose("Found the last Git tag: #{from}")
|
14
14
|
to = 'HEAD'
|
15
15
|
end
|
16
16
|
|
17
|
-
|
17
|
+
UI.success("Collecting Git commits between #{from} and #{to}")
|
18
18
|
|
19
19
|
# Normally it is not good practice to take arbitrary input and convert it to a symbol
|
20
20
|
# because prior to Ruby 2.2, symbols are never garbage collected. However, we've
|
@@ -23,7 +23,7 @@ module Fastlane
|
|
23
23
|
response = https.request(req)
|
24
24
|
case response.code.to_i
|
25
25
|
when 200..299
|
26
|
-
|
26
|
+
UI.success('Successfully sent notification to ChatWork right now 📢')
|
27
27
|
else
|
28
28
|
require 'json'
|
29
29
|
json = JSON.parse(response.body)
|
@@ -42,7 +42,7 @@ module Fastlane
|
|
42
42
|
description: "ChatWork API Token",
|
43
43
|
verify_block: proc do |value|
|
44
44
|
unless value.to_s.length > 0
|
45
|
-
|
45
|
+
UI.error("Please add 'ENV[\"CHATWORK_API_TOKEN\"] = \"your token\"' to your Fastfile's `before_all` section.")
|
46
46
|
raise 'No CHATWORK_API_TOKEN given.'.red
|
47
47
|
end
|
48
48
|
end),
|
@@ -8,6 +8,7 @@ module Fastlane
|
|
8
8
|
]
|
9
9
|
|
10
10
|
paths += Actions.lane_context[Actions::SharedValues::SIGH_PROFILE_PATHS] || []
|
11
|
+
paths += Actions.lane_context[Actions::SharedValues::DSYM_PATHS] || []
|
11
12
|
paths = paths.uniq
|
12
13
|
|
13
14
|
paths.reject { |file| file.nil? || !File.exist?(file) }.each do |file|
|
@@ -15,11 +16,11 @@ module Fastlane
|
|
15
16
|
next if file.match(options[:exclude_pattern])
|
16
17
|
end
|
17
18
|
|
18
|
-
|
19
|
+
UI.verbose("Cleaning up '#{file}'")
|
19
20
|
File.delete(file)
|
20
21
|
end
|
21
22
|
|
22
|
-
|
23
|
+
UI.success('Cleaned up build artifacts 🐙')
|
23
24
|
end
|
24
25
|
|
25
26
|
def self.available_options
|