fastlane-plugin-altool 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9dabea63f8dcd8c76d47b9f4edf6aee90d44d281
4
- data.tar.gz: 5c68461a69b5df89ec0c51c9fb6ed0daa1c3a50e
3
+ metadata.gz: 8aaa81cf1e1c20d898fdfd47918fe7e5418949d5
4
+ data.tar.gz: 19b8cba4ce4dd42fa3ed537bc45ab4b16889af55
5
5
  SHA512:
6
- metadata.gz: 53c896c5403d84559d573abb88ad33a66e6804e0a759fc764943ff969f5fd84185884ec8b695b5502c99f6685315729d715df0599e50bca2eb7f6d7128026aba
7
- data.tar.gz: 52d792f2ba0ac3717bca4ee8b7bf192fee4f2cc7a426bd59c57d3fbd574b9c457c26e2b7053a8613722fa3fc48cae16d6b2204c3548044af668761e06bde06fa
6
+ metadata.gz: 3d30b521efc02231a05a4af67a98c1d94f4278b4c2325d135c6fe6926d0c5611e690020f14c91dba50d412f6a66f77daa82ad1952257ea4ae3965fabd4294e1a
7
+ data.tar.gz: 428d57a1f8b2c4e09a7a2ff7c385ca9e483ce0c8cd29cebbbb5f9e4bf808b341398532800f42196dcfc0f2ce2f79708bad634eeb0fe11c70f97df3acb3b8cf61
data/README.md CHANGED
@@ -12,23 +12,37 @@ This project is a [_fastlane_](https://github.com/fastlane/fastlane) plugin. To
12
12
  fastlane add_plugin altool
13
13
  ```
14
14
 
15
+ ## Pre-requisite
16
+
17
+ This plaugin 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
+
19
+ You can set that easily for bash shell
20
+
21
+ ```
22
+ $ export FASTLANE_USER="your_apple_id@yourcompany.com";
23
+ $ export FASTLANE_PASSWORD="your_super_xecret_password";
24
+
25
+ ```
26
+
27
+ You can do the same for your choice of shell if you aren't using bash.
28
+
29
+
15
30
  ## About altool
16
31
 
17
- Upload IPA to iTunes Connect using altool.
32
+ This plugin can be used to upload IPA to iTunes Connect using altool.
18
33
 
19
34
  Currently Fastlane deliver uses iTMSTransporter to upload an ipa files to iTunes Connect but there is slick way to do this using `altool`
20
35
 
21
- This plugin can be used for uploading generated ipa file using Gym to iTunes Connect.
36
+ This plugin can be used for uploading generated `ipa` file using Gym to iTunes Connect.
22
37
 
23
- This plugin assume that, you already have that Fastlane setup and your details are configured as ENV variables in FASTLANE_USER and FASTLANE_PASSWORD by default.
38
+ This plugin assume that, you already have that Fastlane setup and your details are configured as ENV variables in `FASTLANE_USER` and `FASTLANE_PASSWORD` by default.
24
39
 
25
40
 
26
- ## Example
41
+ ## Usage
27
42
 
28
43
  You can configure this plaugin using
29
44
 
30
45
  ```
31
- lane :upload_ipa_altool do
32
46
  altool(
33
47
  altool_username: ENV["FASTLANE_USER"],
34
48
  altool_password: ENV["FASTLANE_PASSWORD"],
@@ -37,9 +51,11 @@ lane :upload_ipa_altool do
37
51
  altool_output_format: "xml",
38
52
  )
39
53
 
40
- end
41
54
  ```
42
55
 
56
+ ## Example Project Repo
57
+
58
+ This is a example project [Altool-Demo](https://github.com/Shashikant86/Altool-Demo) available on Github which has its own README.
43
59
 
44
60
  ## Run tests for this plugin
45
61
 
@@ -4,20 +4,19 @@ require_relative '../helper/altool_helper'
4
4
  module Fastlane
5
5
  module Actions
6
6
  class AltoolAction < Action
7
+ ALTOOL= File.expand_path('/Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Support/altool')
8
+ puts ALTOOL
7
9
  def self.run(params)
8
- altool_path = "/Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Support/altool"
9
- unless File.exist? altool_path
10
- UI.user_error!("altool binary not found. Please check your Xcode installtion")
11
- end
10
+ UI.message(" ----altool binary exists on your machine----- ")
12
11
 
13
12
  altool_app_type = params[:altool_app_type]
14
13
  altool_ipa_path = params[:altool_ipa_path]
15
14
  altool_username = params[:altool_username]
16
15
  altool_password = params[:altool_password]
17
16
  altool_output_format = params[:altool_output_format]
18
-
17
+ UI.message("========Validating and Uploading your ipa file to iTunes Connect=========")
19
18
  command = [
20
- "/Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Support/altool",
19
+ ALTOOL,
21
20
  '--upload-app',
22
21
  '-t',
23
22
  altool_app_type,
@@ -30,8 +29,8 @@ module Fastlane
30
29
  '--output-format',
31
30
  altool_output_format
32
31
  ]
33
-
34
32
  Actions.sh(command.join(' '))
33
+ UI.message("========It maight take so long time to fully upload your IPA files=========")
35
34
  end
36
35
 
37
36
  def self.description
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Altool
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-altool
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shashikant Jagtap