deliver 1.5.2 → 1.6.0

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: ba7ef6b0388c723334b0b3b3786b3aac99e6454d
4
- data.tar.gz: f08295d5d15139cf08730005910787e48eebf6c6
3
+ metadata.gz: f6dd2276e3a2ba4342c8c33035051c80f6a64397
4
+ data.tar.gz: 918c654371cd027181bfd300fca7d389cda1b3f8
5
5
  SHA512:
6
- metadata.gz: 407caabc47fa81c10fb076a1ed5a2ff77cc7979836451edadc540f6f107b132f039f205a29fe39ee9ece5002b900f84eea1490ca3e283381fb1dad250c761547
7
- data.tar.gz: 8703f878e7cf420e754c2b4cc60d04b087570a72496cff2cae79adacf73445c6ee69caf6c532e9fabc27634a6711407050fb8c20698357900db72bcbf493793d
6
+ metadata.gz: ce3b4d73538d777dc516c8f6208aa5445a392ef1e569e8d6f8d16a02eb6e56d89cc01bb688f2f027bdc51d01d3e91805e72126e837108f606e1c80ccd6ce59bc
7
+ data.tar.gz: 0f80fe7f587e170ac04e58fbe5dff9bc39d5cd11904efcbed3f7a3a149c2e30728e6fb948c0b9c52588de1403bc9342dc31e6e724f030f611b5461289e5b2e7f
@@ -25,7 +25,7 @@ module Deliver
25
25
  if app
26
26
  options[:app] = app
27
27
  else
28
- raise "Could not find app with app identifier '#{options[:app_identifier]}' in your iTunes Connect account".red
28
+ raise "Could not find app with app identifier '#{options[:app_identifier]}' in your iTunes Connect account (#{options[:username]} - Team: #{Spaceship::Tunes.client.team_id})".red
29
29
  end
30
30
  end
31
31
 
@@ -86,6 +86,25 @@ module Deliver
86
86
  description: "Extra information for the submission (e.g. third party content)",
87
87
  is_string: false,
88
88
  optional: true),
89
+ FastlaneCore::ConfigItem.new(key: :team_id,
90
+ short_option: "-k",
91
+ env_name: "DELIVER_TEAM_ID",
92
+ description: "The ID of your team if you're in multiple teams",
93
+ optional: true,
94
+ is_string: false, # as we also allow integers, which we convert to strings anyway
95
+ default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_id),
96
+ verify_block: proc do |value|
97
+ ENV["FASTLANE_ITC_TEAM_ID"] = value.to_s
98
+ end),
99
+ FastlaneCore::ConfigItem.new(key: :team_name,
100
+ short_option: "-e",
101
+ env_name: "DELIVER_TEAM_NAME",
102
+ description: "The name of your team if you're in multiple teams",
103
+ optional: true,
104
+ default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_name),
105
+ verify_block: proc do |value|
106
+ ENV["FASTLANE_ITC_TEAM_NAME"] = value
107
+ end),
89
108
 
90
109
  # App Metadata
91
110
  # Non Localised
@@ -12,6 +12,7 @@ module Deliver
12
12
  def login
13
13
  Helper.log.info "Login to iTunes Connect (#{options[:username]})"
14
14
  Spaceship::Tunes.login(options[:username])
15
+ Spaceship::Tunes.select_team
15
16
  Helper.log.info "Login successful"
16
17
  end
17
18
 
@@ -1,4 +1,4 @@
1
1
  module Deliver
2
- VERSION = "1.5.2"
2
+ VERSION = "1.6.0"
3
3
  DESCRIPTION = 'Upload screenshots, metadata and your app to the App Store using a single command'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deliver
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.2
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-02 00:00:00.000000000 Z
11
+ date: 2015-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastlane_core
@@ -36,21 +36,27 @@ dependencies:
36
36
  requirements:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: 0.9.0
39
+ version: 0.12.0
40
+ - - "<"
41
+ - !ruby/object:Gem::Version
42
+ version: 1.0.0
40
43
  type: :runtime
41
44
  prerelease: false
42
45
  version_requirements: !ruby/object:Gem::Requirement
43
46
  requirements:
44
47
  - - ">="
45
48
  - !ruby/object:Gem::Version
46
- version: 0.9.0
49
+ version: 0.12.0
50
+ - - "<"
51
+ - !ruby/object:Gem::Version
52
+ version: 1.0.0
47
53
  - !ruby/object:Gem::Dependency
48
54
  name: spaceship
49
55
  requirement: !ruby/object:Gem::Requirement
50
56
  requirements:
51
57
  - - ">="
52
58
  - !ruby/object:Gem::Version
53
- version: 0.14.0
59
+ version: 0.15.0
54
60
  - - "<="
55
61
  - !ruby/object:Gem::Version
56
62
  version: 1.0.0
@@ -60,7 +66,7 @@ dependencies:
60
66
  requirements:
61
67
  - - ">="
62
68
  - !ruby/object:Gem::Version
63
- version: 0.14.0
69
+ version: 0.15.0
64
70
  - - "<="
65
71
  - !ruby/object:Gem::Version
66
72
  version: 1.0.0