fastlane-plugin-altool 1.0.0 → 1.1.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 +4 -5
- data/lib/fastlane/plugin/altool/actions/altool_action.rb +6 -3
- data/lib/fastlane/plugin/altool/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22b740c0656734470d2b692ebda314f3f1bf6984
|
4
|
+
data.tar.gz: 1b4d5233a775d093755f4b5dcb1feb877a27f059
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec46ff9edcc5da8d4fd559b9bcb94f040c29a4e77b24bbd85d02d6f5d7e18a134c429e4ef52d8b6bc0e2230ab15cabf81cebd62f1378590f5dae2e3f8d1786a7
|
7
|
+
data.tar.gz: 8e3496068798ea7dc27bf12088ec50cf433400662b7b617980e3c95997f6f94056315f9207dedb3854c929c0186dff7d246f698c3dd61be417dda6e164a20e99
|
data/README.md
CHANGED
@@ -14,14 +14,13 @@ fastlane add_plugin altool
|
|
14
14
|
|
15
15
|
## Pre-requisite
|
16
16
|
|
17
|
-
This
|
17
|
+
This plugin has configurable Apple ID and password but you probably don't want to hardcode that. You need to have Fastlane setup with `FASTLANE_USER` and `FASTLANE_PASSWORD` environmenal varibales setup. Fastlane will ask it when you run `fastlane init` but if not you have to set these variables.
|
18
18
|
|
19
19
|
You can set that easily for bash shell
|
20
20
|
|
21
21
|
```
|
22
22
|
$ export FASTLANE_USER="your_apple_id@yourcompany.com";
|
23
23
|
$ export FASTLANE_PASSWORD="your_super_xecret_password";
|
24
|
-
|
25
24
|
```
|
26
25
|
|
27
26
|
You can do the same for your choice of shell if you aren't using bash.
|
@@ -40,9 +39,9 @@ This plugin assume that, you already have that Fastlane setup and your details a
|
|
40
39
|
|
41
40
|
## Usage
|
42
41
|
|
43
|
-
You can configure this
|
42
|
+
You can configure this plugin using
|
44
43
|
|
45
|
-
```
|
44
|
+
```ruby
|
46
45
|
altool(
|
47
46
|
altool_username: ENV["FASTLANE_USER"],
|
48
47
|
altool_password: ENV["FASTLANE_PASSWORD"],
|
@@ -59,7 +58,7 @@ This might print the username and password to build console in the commands, pip
|
|
59
58
|
|
60
59
|
## Example Project Repo
|
61
60
|
|
62
|
-
This is a example project [Altool-Demo](https://github.com/Shashikant86/Altool-Demo) available on
|
61
|
+
This is a example project [Altool-Demo](https://github.com/Shashikant86/Altool-Demo) available on GitHub which has its own README.
|
63
62
|
|
64
63
|
## Run tests for this plugin
|
65
64
|
|
@@ -10,10 +10,13 @@ module Fastlane
|
|
10
10
|
UI.message(" ----altool binary exists on your machine----- ")
|
11
11
|
|
12
12
|
altool_app_type = params[:altool_app_type]
|
13
|
-
altool_ipa_path = params[:altool_ipa_path]
|
13
|
+
altool_ipa_path = "\"#{params[:altool_ipa_path]}\""
|
14
14
|
altool_username = params[:altool_username]
|
15
|
-
altool_password = params[:altool_password]
|
16
15
|
altool_output_format = params[:altool_output_format]
|
16
|
+
|
17
|
+
ENV["ALTOOL_PASSWORD"] = params[:altool_password]
|
18
|
+
altool_password = "@env:ALTOOL_PASSWORD"
|
19
|
+
|
17
20
|
UI.message("========Validating and Uploading your ipa file to iTunes Connect=========")
|
18
21
|
command = [
|
19
22
|
ALTOOL,
|
@@ -84,7 +87,7 @@ module Fastlane
|
|
84
87
|
description: "Your Apple ID Password for iTunes Connects. This usually FASTLANE_PASSWORD environmental variable",
|
85
88
|
is_string: true,
|
86
89
|
default_value: ENV["FASTLANE_PASSWORD"],
|
87
|
-
optional:
|
90
|
+
optional: true,
|
88
91
|
),
|
89
92
|
|
90
93
|
FastlaneCore::ConfigItem.new(key: :altool_output_format,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-altool
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shashikant Jagtap
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|