fastlane-plugin-gs_deliver 0.3.10 → 0.3.11

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: 4822cd3049a35eb0243c0290610acac2793107ce
4
- data.tar.gz: 00588ca978ffee042d740e5afb7287008b970684
3
+ metadata.gz: 04db3264056ae58beb6ad266d234f77e1bb4def3
4
+ data.tar.gz: c4958d5f00c617761661c1eb5f8da64e679192b4
5
5
  SHA512:
6
- metadata.gz: 4ff42da253bea991456386d431a580a87fe3d55bc2b705d55f195994d1ebfcd522060aa3656c10894ac879e764ba42439a19c799c4b0a59934094de492820c4c
7
- data.tar.gz: de731c04ba7ea03ca8bf88e930a620a348976caa29779577e3584926213b655ba685a02a0a7372188d955e595c1f6961ce4605c9474a4853c3495967a95ed9cf
6
+ metadata.gz: a1f0784becd76f158596e5518eb337bc72b2199cba3d6c450ccd589eabf09d6a56ce691f18c8a494b9d83e98288cbd3b613340486b99f12a2c91758831681698
7
+ data.tar.gz: 82acff93c995f62afbc0ad2d08de0a108b1f46d62bafb0356e3aa16bbd06aa735dd32e5f2b2c1c37f5de62e6dfbc755155ea7be04fdb02ebeaeb81e1a287ddac
@@ -33,154 +33,9 @@ module Fastlane
33
33
  end
34
34
 
35
35
  def self.available_options
36
- user = CredentialsManager::AppfileConfig.try_fetch_value(:itunes_connect_id)
37
- user ||= CredentialsManager::AppfileConfig.try_fetch_value(:apple_id)
38
- [
39
- # {username:"cimobdaemon@gmail.com",changelog: testflight_changelog,
40
- # beta_app_description:ENV["target"],
41
- # distribute_external: false,
42
- # beta_app_feedback_email: "cimobdaemon@gmail.com"}
43
- FastlaneCore::ConfigItem.new(key: :username,
44
- optional: false,
45
- type: String,
46
- default_value: user),
47
- FastlaneCore::ConfigItem.new(key: :changelog,
48
- optional: false,
49
- type: String),
50
- FastlaneCore::ConfigItem.new(key: :beta_app_description,
51
- optional: false,
52
- type: String),
53
- FastlaneCore::ConfigItem.new(key: :distribute_external,
54
- optional: false,
55
- is_string: false),
56
- FastlaneCore::ConfigItem.new(key: :beta_app_feedback_email,
57
- env_name: "GS_DELIVER_YOUR_OPTION",
58
- description: "A description of your option",
59
- optional: false,
60
- type: String),
61
- FastlaneCore::ConfigItem.new(key: :app_identifier,
62
- short_option: "-a",
63
- env_name: "PILOT_APP_IDENTIFIER",
64
- description: "The bundle identifier of the app to upload or manage testers (optional)",
65
- optional: true,
66
- default_value: ENV["TESTFLIGHT_APP_IDENTITIFER"] || CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)),
67
- FastlaneCore::ConfigItem.new(key: :app_platform,
68
- short_option: "-m",
69
- env_name: "PILOT_PLATFORM",
70
- description: "The platform to use (optional)",
71
- optional: true,
72
- verify_block: proc do |value|
73
- UI.user_error!("The platform can only be ios, appletvos, or osx") unless ['ios', 'appletvos', 'osx'].include? value
74
- end),
75
- FastlaneCore::ConfigItem.new(key: :ipa,
76
- short_option: "-i",
77
- optional: true,
78
- env_name: "PILOT_IPA",
79
- description: "Path to the ipa file to upload",
80
- default_value: Dir["*.ipa"].first,
81
- verify_block: proc do |value|
82
- UI.user_error!("Could not find ipa file at path '#{value}'") unless File.exist? value
83
- UI.user_error!("'#{value}' doesn't seem to be an ipa file") unless value.end_with? ".ipa"
84
- end),
85
- FastlaneCore::ConfigItem.new(key: :skip_submission,
86
- short_option: "-s",
87
- env_name: "PILOT_SKIP_SUBMISSION",
88
- description: "Skip the distributing action of pilot and only upload the ipa file",
89
- is_string: false,
90
- default_value: false),
91
- FastlaneCore::ConfigItem.new(key: :skip_waiting_for_build_processing,
92
- short_option: "-z",
93
- env_name: "PILOT_SKIP_WAITING_FOR_BUILD_PROCESSING",
94
- description: "Don't wait for the build to process. If set to true, the changelog won't be set, `distribute_external` option won't work",
95
- is_string: false,
96
- default_value: false),
97
- FastlaneCore::ConfigItem.new(key: :update_build_info_on_upload,
98
- short_option: "-x",
99
- env_name: "PILOT_UPDATE_BUILD_INFO_ON_UPLOAD",
100
- description: "Update build info immediately after validation. This will set the changelog even if PILOT_SKIP_SUBMISSION is set, but will have no effect if PILOT_SKIP_WAITING_FOR_BUILD_PROCESSING is set",
101
- is_string: false,
102
- default_value: false),
103
- FastlaneCore::ConfigItem.new(key: :apple_id,
104
- short_option: "-p",
105
- env_name: "PILOT_APPLE_ID",
106
- description: "The unique App ID provided by iTunes Connect",
107
- optional: true,
108
- default_value: ENV["TESTFLIGHT_APPLE_ID"]),
109
- FastlaneCore::ConfigItem.new(key: :first_name,
110
- short_option: "-f",
111
- env_name: "PILOT_TESTER_FIRST_NAME",
112
- description: "The tester's first name",
113
- optional: true),
114
- FastlaneCore::ConfigItem.new(key: :last_name,
115
- short_option: "-l",
116
- env_name: "PILOT_TESTER_LAST_NAME",
117
- description: "The tester's last name",
118
- optional: true),
119
- FastlaneCore::ConfigItem.new(key: :email,
120
- short_option: "-e",
121
- env_name: "PILOT_TESTER_EMAIL",
122
- description: "The tester's email",
123
- optional: true,
124
- verify_block: proc do |value|
125
- UI.user_error!("Please pass a valid email address") unless value.include? "@"
126
- end),
127
- FastlaneCore::ConfigItem.new(key: :testers_file_path,
128
- short_option: "-c",
129
- env_name: "PILOT_TESTERS_FILE",
130
- description: "Path to a CSV file of testers",
131
- default_value: "./testers.csv",
132
- optional: true),
133
- FastlaneCore::ConfigItem.new(key: :wait_processing_interval,
134
- short_option: "-k",
135
- env_name: "PILOT_WAIT_PROCESSING_INTERVAL",
136
- description: "Interval in seconds to wait for iTunes Connect processing",
137
- default_value: 30,
138
- type: Integer,
139
- verify_block: proc do |value|
140
- UI.user_error!("Please enter a valid positive number of seconds") unless value.to_i > 0
141
- end),
142
- FastlaneCore::ConfigItem.new(key: :team_id,
143
- short_option: "-q",
144
- env_name: "PILOT_TEAM_ID",
145
- description: "The ID of your iTunes Connect team if you're in multiple teams",
146
- optional: true,
147
- is_string: false, # as we also allow integers, which we convert to strings anyway
148
- default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_id),
149
- verify_block: proc do |value|
150
- ENV["FASTLANE_ITC_TEAM_ID"] = value.to_s
151
- end),
152
- FastlaneCore::ConfigItem.new(key: :team_name,
153
- short_option: "-r",
154
- env_name: "PILOT_TEAM_NAME",
155
- description: "The name of your iTunes Connect team if you're in multiple teams",
156
- optional: true,
157
- default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_name),
158
- verify_block: proc do |value|
159
- ENV["FASTLANE_ITC_TEAM_NAME"] = value.to_s
160
- end),
161
- FastlaneCore::ConfigItem.new(key: :dev_portal_team_id,
162
- env_name: "PILOT_DEV_PORTAL_TEAM_ID",
163
- description: "The short ID of your team in the developer portal, if you're in multiple teams. Different from your iTC team ID!",
164
- optional: true,
165
- is_string: true,
166
- default_value: CredentialsManager::AppfileConfig.try_fetch_value(:team_id),
167
- verify_block: proc do |value|
168
- ENV["FASTLANE_TEAM_ID"] = value.to_s
169
- end),
170
- FastlaneCore::ConfigItem.new(key: :itc_provider,
171
- env_name: "PILOT_ITC_PROVIDER",
172
- description: "The provider short name to be used with the iTMSTransporter to identify your team",
173
- optional: true),
174
- FastlaneCore::ConfigItem.new(key: :groups,
175
- short_option: "-g",
176
- env_name: "PILOT_GROUPS",
177
- description: "Associate tester to one group or more by group name / group id. E.g. '-g \"Team 1\",\"Team 2\"'",
178
- optional: true,
179
- type: Array,
180
- verify_block: proc do |value|
181
- UI.user_error!("Could not evaluate array from '#{value}'") unless value.kind_of?(Array)
182
- end)
183
- ]
36
+ require "pilot"
37
+ require "pilot/options"
38
+ FastlaneCore::CommanderGenerator.new.generate(Pilot::Options.available_options)
184
39
  end
185
40
 
186
41
  def self.is_supported?(platform)
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module GsDeliver
3
- VERSION = "0.3.10"
3
+ VERSION = "0.3.11"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-gs_deliver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.10
4
+ version: 0.3.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Сергей Веселовский
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-16 00:00:00.000000000 Z
11
+ date: 2017-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry