fastlane-plugin-stream_actions 0.2.5 → 0.2.7

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: c214ab663139ee3f7ceb037af1ffd56a218a9af5ab2a25b345b9c9cf94d16e38
4
- data.tar.gz: 9007f60f6954d2e5f9066804057bef407d53af67e825724287016bd5bf02d119
3
+ metadata.gz: ce8fcaa508362a2c52b5e9c5afc5a1c8263a48701087170ea67eec8a33484059
4
+ data.tar.gz: c8e53e7fd466393bd091116485c7ab3e4221df602a311b76289d46aa69d65dda
5
5
  SHA512:
6
- metadata.gz: d636867246bc7a3a2778cb52126c5b65ba3e0eb97af6304b767b44ed65c34e1db8b0f151dadb3fa4b6277424f07528c52a81adc4d20951edf86df6cc17acc7c9
7
- data.tar.gz: 1df7540a62c1b4986c7ebf76bec0bbc669b5d6009433c5201a4ffbbd8eec7689b1b53aaa6c20c225f66226928526a31046b79f657a11df1d3c08ca4482d96c52
6
+ metadata.gz: bb27ade0c8c605bfab2eafa935553a1499928e0cd440b5ed0c87440a4a769711fe4499b57d3f11e7a108b75370f8717923713db77a68d721860354ede06c4670
7
+ data.tar.gz: 14b94ac5bfa62d79e8c3bbab4d87feda48aafdc4a5f102dcd3eb2e7c58c582ebd90df6b4f92692b32da43f06f08dc61cca9ec9c390140405787516a0fa382c29
@@ -10,9 +10,13 @@ module Fastlane
10
10
  other_action.pod_push(path: params[:podspec], allow_warnings: true, synchronous: params[:sync])
11
11
  rescue StandardError => e
12
12
  UI.message(e)
13
- UI.message("pod_push failed for #{params[:podspec]}. Waiting a minute until retry for trunk to get updated...")
14
- sleep(60) # sleep for a minute, wait until trunk gets updates
15
- pod_push_safely(params)
13
+ if e.message.include?('Unable to accept duplicate entry')
14
+ UI.message("pod_push passed for #{params[:podspec]} on previous run. Skipping further attempts.")
15
+ else
16
+ UI.message("pod_push failed for #{params[:podspec]}. Waiting a minute until retry for trunk to get updated...")
17
+ sleep(60) # sleep for a minute, wait until trunk gets updates
18
+ pod_push_safely(params)
19
+ end
16
20
  end
17
21
 
18
22
  #####################################################
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module StreamActions
3
- VERSION = "0.2.5"
3
+ VERSION = "0.2.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-stream_actions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - GetStream