fastlane-plugin-taiwan_number_one 0.2.1 → 0.2.2

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: e643cce0efc7af0226a41196fe7e3440e69e91ee672b3c7b3eee306818376e30
4
- data.tar.gz: eec2ccc3f94005558c87adfa0f342ba36b0185fa6ec1ec2439501b9c6225e9e5
3
+ metadata.gz: 698fe9ed45a02263ec080d0cb79ecddcf4bd668642608df48d3a7e26df3e131c
4
+ data.tar.gz: a94da99582b601d965cb9dbb4262ffd5e05edc42128aeb80b5b4ae4600738618
5
5
  SHA512:
6
- metadata.gz: 575f8b85689e0631509bcaa11c2c81a11844264f89293882dab29bf7e53078b9cb1dcc3aa4cf45b8eed13c82ec8dbebeb9def22941e3dacdf4afc5229c0e890d
7
- data.tar.gz: bc7ac4a0bf65de66828f1bbfbd9e34774835a4a47c504244b2e548ca139be70b6ecab70b54004c09f8226a3af99ee00ebd64abbc46d317f629d44444b09f7bf0
6
+ metadata.gz: b2235de3b0a0eff7e9c2795bb20153b5338a12d8460c5275bd1f9b8ec50894359b8c777c417acf1d7a9a6a1cca9c8a5dc65f0af5a01f92f52c7fedc0877f7f03
7
+ data.tar.gz: 6cb3f0ce091c9779a5a0a07f1c7b43427f124ff8d4e4a6374c9496c70d214a3e851f39b565a049a2a289bfe296b7d1bc5dec40b3316aa2c160332086710e35e7
data/README.md CHANGED
@@ -12,7 +12,7 @@ fastlane add_plugin taiwan_number_one
12
12
 
13
13
  ## About taiwan_number_one
14
14
 
15
- To approve or reject if status is Pending Developer Release.
15
+ To approve or reject if status is `Pending Developer Release`, otherwise do nothing.
16
16
 
17
17
  #### This feature is requsted for a while:
18
18
 
@@ -33,10 +33,10 @@ https://github.com/fastlane/fastlane/issues/17539
33
33
 
34
34
  ## Usage
35
35
 
36
- ##### install plugin for fastlane
36
+ ##### Install plugin for fastlane
37
37
  [install instructions](https://docs.fastlane.tools/plugins/using-plugins/)
38
38
  ```
39
- bundle exce fastlane add_plugin taiwan_number_one
39
+ bundle exec fastlane add_plugin taiwan_number_one
40
40
  ```
41
41
  but I personally prefer adding plugin in `Gemfile` like this to avoid additional `Pluginfile` in ~'your_ios_project_dir'/fastlane
42
42
 
@@ -96,8 +96,8 @@ module Fastlane
96
96
  def self.fetch_decision
97
97
  decision = nil
98
98
  until ["release", "reject"].include?(decision)
99
- decision = UI.input("Please enter the app's release decision (release, reject): ")
100
- UI.message("App's decision must be release or reject")
99
+ UI.user_error!("App's decision must be release or reject")
100
+ return
101
101
  end
102
102
  # return decision
103
103
  UI.message("return type #{decision}")
@@ -119,8 +119,7 @@ module Fastlane
119
119
  UI.message("release version #{app_store_version.version_string} successfully!")
120
120
  return ActionResult::SUCCESS
121
121
  rescue => e
122
- UI.user_error!("An error occurred while releasing version #{app_store_version}")
123
- UI.error("#{e.message}\n#{e.backtrace.join("\n")}") if FastlaneCore::Globals.verbose?
122
+ UI.user_error!("An error occurred while releasing version #{app_store_version}, #{e.message}\n#{e.backtrace.join("\n")}")
124
123
  return ActionResult::DO_NOTHING
125
124
  end
126
125
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module TaiwanNumberOne
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
5
5
  end
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: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - andrew54068
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-22 00:00:00.000000000 Z
11
+ date: 2021-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry