fastlane_hotfix 2.165.0 → 2.165.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bed2c33f4218ea18df00388c14b5707ba3dde7f580bd7fe3fb3c88c405e3406e
4
- data.tar.gz: 77cbb4ae1911eca65c6f9bd862978ee5f13bcb317cf0f5843789b11023d0f8a3
3
+ metadata.gz: eac02e158c966af4a5ba99a95b19711bda0e954ce43c9388fcad1b9c408b5165
4
+ data.tar.gz: 8afc2333115d28b3b5c84855c757d4a1aaefcdac786081baa5f7cae18b2ffd52
5
5
  SHA512:
6
- metadata.gz: d93ce30af3c5d9de899f2320fb637324da98e8eaeca65c3e1e84d020d335412f7c49e04088954425c22c3181b7c0b484a40feef606c705971c223f05d1728e01
7
- data.tar.gz: 121bc725f0e48d60408a3fdb706cddc8d2a68c9e882749e271e5a5c3e8db25d10cc000b5da2c7f43c4558fb9a369bfa001aaa869d3acbc11b83bc73aecdca480
6
+ metadata.gz: 10bc231696f2d869777d5d054ce154186563b088c9f7bbc16721fe03124d19093b3b393326b3c6ad39b677ce2327fa4edf6d38bf059f51a56468df7ab4019cb9
7
+ data.tar.gz: ac0c97df257f0bcbc3a3c368b31a61e0a7cefad562aeeef61ad6a048b7e92d83f828a1609035a4cf289ad5550ecffd3bab447393800574461930a62930d05e52
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.165.0'.freeze
2
+ VERSION = '2.165.1'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  MINIMUM_XCODE_RELEASE = "7.0".freeze
5
5
  RUBOCOP_REQUIREMENT = '0.49.1'.freeze
@@ -146,6 +146,7 @@ module Spaceship
146
146
  available_teams = teams.collect do |team|
147
147
  {
148
148
  team_id: (team["contentProvider"] || {})["contentProviderId"],
149
+ public_team_id: (team["contentProvider"] || {})["contentProviderPublicId"],
149
150
  team_name: (team["contentProvider"] || {})["name"]
150
151
  }
151
152
  end
@@ -160,10 +161,19 @@ module Spaceship
160
161
  end
161
162
 
162
163
  response = request(:post) do |req|
163
- req.url("ra/v2/session/webSession")
164
+ req.url("https://appstoreconnect.apple.com/olympus/v1/providerSwitchRequests")
164
165
  req.body = {
165
- contentProviderId: team_id,
166
- dsId: user_detail_data.ds_id # https://github.com/fastlane/fastlane/issues/6711
166
+ "data": {
167
+ "type": "providerSwitchRequests",
168
+ "relationships": {
169
+ "provider": {
170
+ "data": {
171
+ "type": "providers",
172
+ "id": result[:public_team_id]
173
+ }
174
+ }
175
+ }
176
+ }
167
177
  }.to_json
168
178
  req.headers['Content-Type'] = 'application/json'
169
179
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane_hotfix
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.165.0
4
+ version: 2.165.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jorge Revuelta H
@@ -29,7 +29,7 @@ authors:
29
29
  autorequire:
30
30
  bindir: bin
31
31
  cert_chain: []
32
- date: 2021-07-22 00:00:00.000000000 Z
32
+ date: 2021-07-23 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: slack-notifier