fastlane-plugin-taiwan_number_one 1.1.2 → 1.1.3
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c5ccf4c9522f758764660d86f7faf7fd084922efff188b493bf3b5467732783
|
4
|
+
data.tar.gz: 9d437678f413a529a6f1644bfc8a7d988b74e8d4e460e4ac784343b96adcd4e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32a3f59ae71f9436841279b95d0d3bc34181bd35c2952565703fd7a01552b15eadfef2798b97eed2526ad46a37005ee19083127761e3eb1ad5ebc7612634ac4b
|
7
|
+
data.tar.gz: a58410635d23aa6f37d7757ef78acd4e1d0fe4009cef686c78e6bb7b44312d8a5840611682c87f06a5462ce2d22ed5b6168cefb8cd5ceff7fd1421b0f7c9da49
|
@@ -80,7 +80,7 @@ module Fastlane
|
|
80
80
|
case decision
|
81
81
|
when DecisionType::RELEASE
|
82
82
|
UI.message("decision is release")
|
83
|
-
result = release_version_if_possible(
|
83
|
+
result = release_version_if_possible(app: app, app_store_version: app_store_version, token: token)
|
84
84
|
when DecisionType::REJECT
|
85
85
|
UI.message("decision is reject")
|
86
86
|
result = reject_version_if_possible(client: client, app_store_version: app_store_version)
|
@@ -126,23 +126,13 @@ module Fastlane
|
|
126
126
|
return ActionResult::DO_NOTHING
|
127
127
|
end
|
128
128
|
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
})
|
137
|
-
return ActionResult::SUCCESS
|
138
|
-
else
|
139
|
-
app_store_version.create_app_store_version_release_request
|
140
|
-
UI.message("release version #{app_store_version.version_string} successfully!")
|
141
|
-
return ActionResult::SUCCESS
|
142
|
-
end
|
143
|
-
rescue => e
|
144
|
-
UI.user_error!("An error occurred while releasing version #{app_store_version}, #{e.message}\n#{e.backtrace.join("\n")}")
|
145
|
-
return ActionResult::DO_NOTHING
|
129
|
+
version = app.get_pending_release_app_store_version
|
130
|
+
if version.nil? == false
|
131
|
+
Spaceship::ConnectAPI.post_app_store_version_release_request(app_store_version_id: version.id)
|
132
|
+
UI.message("release version #{app_store_version} successfully!")
|
133
|
+
return ActionResult::SUCCESS
|
134
|
+
else
|
135
|
+
UI.user_error!("version not found while releasing version #{app_store_version}, #{e.message}\n#{e.backtrace.join("\n")}")
|
146
136
|
end
|
147
137
|
end
|
148
138
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-taiwan_number_one
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- andrew54068
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|