fastlane-plugin-taiwan_number_one 1.0.1 → 1.1.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: c7a52ae95184c56210567ff8e07044f3211006e0c2573ae4bca75fe92e2fde95
4
- data.tar.gz: 4566306d89b9d912349db6e51006e498b4504dc88e8b32504728807fbbcc4ef4
3
+ metadata.gz: f021f730281d3fb9f0494a897ed7d2150954a9dd671c1d3f334389ce3b22ec37
4
+ data.tar.gz: 27bb6277be25f03f4d1a0ec2c35377be6ea262e33ef6857a0df1142806de5bcf
5
5
  SHA512:
6
- metadata.gz: 994f6edc6152386ee0d3c1c571600e0a63dc6b28fa312c42a9d2d45f6afd2e076357b0ba75ce830cfb333ca3fd8a844f589274281586edddf659cc01b29e8e48
7
- data.tar.gz: 74195ccb3f67a13e2e7a962a9e568247225d7497e6fece51661d924d26652a1b35a58d306f046c2173b918a01301fd0d9b7c9220049a23c7b52bfaa6956d04f5
6
+ metadata.gz: 50dedbd50733a4ae7c209dc2e2b5724a167a1d70c41ad8f5c702f0620d2d2aecb2b87d5f66ebc4e6a68d5d23e6b43a763c2b586e1312299421d11d4506794988
7
+ data.tar.gz: 53120452faa6d1d9d6c6601cc865ffaeb4b1e2b35b870c2524969ccde60b807dba892fece311467927648db69dc9cf79f0b3a31a414bfaa26649c3770390cb4e
@@ -60,6 +60,11 @@ module Fastlane
60
60
  app_store_version = app.get_app_store_versions(client: client, includes: "appStoreVersionSubmission")
61
61
  .sort_by { |v| Gem::Version.new(v.version_string) }
62
62
  .last
63
+ if app_store_version.app_store_state == Spaceship::ConnectAPI::AppStoreVersion::AppStoreState::DEVELOPER_REJECTED
64
+ UI.message("app_store_state is already #{app_store_version.app_store_state}")
65
+ UI.message("🇹🇼 Taiwan helps you do nothing!")
66
+ return ActionResult::DO_NOTHING
67
+ end
63
68
  return reject_version_if_possible(app: app, app_store_version: app_store_version)
64
69
  end
65
70
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module TaiwanNumberOne
3
- VERSION = "1.0.1"
3
+ VERSION = "1.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
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.1
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - andrew54068