fastlane-plugin-taiwan_number_one 1.0.0 → 1.0.1
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: c7a52ae95184c56210567ff8e07044f3211006e0c2573ae4bca75fe92e2fde95
|
4
|
+
data.tar.gz: 4566306d89b9d912349db6e51006e498b4504dc88e8b32504728807fbbcc4ef4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 994f6edc6152386ee0d3c1c571600e0a63dc6b28fa312c42a9d2d45f6afd2e076357b0ba75ce830cfb333ca3fd8a844f589274281586edddf659cc01b29e8e48
|
7
|
+
data.tar.gz: 74195ccb3f67a13e2e7a962a9e568247225d7497e6fece51661d924d26652a1b35a58d306f046c2173b918a01301fd0d9b7c9220049a23c7b52bfaa6956d04f5
|
data/README.md
CHANGED
@@ -70,7 +70,7 @@ and this:
|
|
70
70
|
```
|
71
71
|
desc "release App store version"
|
72
72
|
lane :release_app do
|
73
|
-
result = release_decision(app_decision: Fastlane::Actions::TaiwanNumberOneAction::
|
73
|
+
result = release_decision(app_decision: Fastlane::Actions::TaiwanNumberOneAction::DecisionType::RELEASE)
|
74
74
|
if result == Fastlane::Actions::TaiwanNumberOneAction::ActionResult::SUCCESS
|
75
75
|
# do your thing here!
|
76
76
|
end
|
@@ -86,7 +86,7 @@ lane :reject_app do
|
|
86
86
|
issuer_id: ENV["ISSUER_ID"],
|
87
87
|
key_content: ENV["ASC_API_KEY"]
|
88
88
|
)
|
89
|
-
release_decision(app_decision: Fastlane::Actions::TaiwanNumberOneAction::
|
89
|
+
release_decision(app_decision: Fastlane::Actions::TaiwanNumberOneAction::DecisionType::REJECT)
|
90
90
|
end
|
91
91
|
```
|
92
92
|
|
@@ -108,9 +108,9 @@ end
|
|
108
108
|
or
|
109
109
|
|
110
110
|
```
|
111
|
-
release_decision(app_decision: Fastlane::Actions::TaiwanNumberOneAction::
|
111
|
+
release_decision(app_decision: Fastlane::Actions::TaiwanNumberOneAction::DecisionType::RELEASE)
|
112
112
|
|
113
|
-
release_decision(app_decision: Fastlane::Actions::TaiwanNumberOneAction::
|
113
|
+
release_decision(app_decision: Fastlane::Actions::TaiwanNumberOneAction::DecisionType::REJECT)
|
114
114
|
```
|
115
115
|
|
116
116
|
#### Use in terminal
|
@@ -54,6 +54,7 @@ module Fastlane
|
|
54
54
|
platform: platform
|
55
55
|
}
|
56
56
|
|
57
|
+
decision ||= fetch_decision(params)
|
57
58
|
if params[:force] && decision == DecisionType::REJECT
|
58
59
|
UI.message("decision is reject")
|
59
60
|
app_store_version = app.get_app_store_versions(client: client, includes: "appStoreVersionSubmission")
|
@@ -74,7 +75,6 @@ module Fastlane
|
|
74
75
|
UI.message("🇹🇼 Taiwan helps you do nothing!")
|
75
76
|
return ActionResult::DO_NOTHING
|
76
77
|
end
|
77
|
-
decision ||= fetch_decision(params)
|
78
78
|
|
79
79
|
result = ActionResult::DO_NOTHING
|
80
80
|
case decision
|
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.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- andrew54068
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|