fastlane-plugin-stream_actions 0.2.4 → 0.2.6

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: 61cac1bdd8a97e86a9b3d61aab4f150b7de21a54c2e011b19f2ceb051cdfcf95
4
- data.tar.gz: 8b898121704fcfc80e79f798ebea18d611fa9354b307d2bcc149a315a18b4844
3
+ metadata.gz: 376e8f9f27e8dd18aa0270c546c129595159ece0826bcd8bddde69dabb45f1ef
4
+ data.tar.gz: 1322c7d10eefdbdd768d85f25fb496095b2ccec0d813242e8807d76e124a2da5
5
5
  SHA512:
6
- metadata.gz: c76d69854c1f4ea9243430b204acaea7946846879908d7324facc8f2e1ab6fba1243d85a0a430fc87abf2351ce51de3a4168f5b669e205b417fba1634b8b454d
7
- data.tar.gz: 338b500a79c0a649dcf8f1837cc93b8f6572278f6525b1553e84bb7e43aeeca51e99d093de020b84826f6b4d98340018d8acd3e0f9385a8465dc9e6d5c7284a5
6
+ metadata.gz: a5401b35f330d20f62faa16d8d5cb9de202495c7f0fd3f06efd5645a48bf1b4e132cc4fbc7d20aeecf9ab88dd381a82f67ea05cc0edad44109b410154df11aab
7
+ data.tar.gz: 2ee465621d54c09cb6e1b7dd5c37f0429ec2f80e7033d3e0a78c77db3b41fff389dc8238cda2b9f315f9dd74d782766aff99c87c30a7189ae1384cdf8f5acb51
@@ -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.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
  #####################################################
@@ -15,14 +15,17 @@ module Fastlane
15
15
 
16
16
  ensure_release_tag_is_new(version_number)
17
17
 
18
- changes = other_action.read_changelog(version: version_number, changelog_path: params[:changelog_path])
18
+ changes = other_action.touch_changelog(
19
+ release_version: version_number,
20
+ github_repo: params[:github_repo],
21
+ changelog_path: params[:changelog_path]
22
+ )
19
23
 
20
24
  podspecs = []
21
25
  params[:sdk_names].each { |sdk| podspecs << "#{sdk}.podspec" }
22
26
 
23
27
  podspecs.each do |podspec|
24
28
  UI.user_error!("Podspec #{podspec} does not exist!") unless File.exist?(podspec)
25
- other_action.pod_lib_lint(podspec: podspec, allow_warnings: true) unless params[:skip_pod_list]
26
29
  other_action.version_bump_podspec(path: podspec, version_number: version_number)
27
30
  end
28
31
 
@@ -119,12 +122,6 @@ module Fastlane
119
122
  is_string: false,
120
123
  default_value: true
121
124
  ),
122
- FastlaneCore::ConfigItem.new(
123
- key: :skip_pod_list,
124
- description: 'Skip pod lib lint action',
125
- is_string: false,
126
- default_value: false
127
- ),
128
125
  FastlaneCore::ConfigItem.new(
129
126
  key: :pod_sync,
130
127
  description: 'If validation depends on other recently pushed pods, synchronize',
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module StreamActions
3
- VERSION = "0.2.4"
3
+ VERSION = "0.2.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-stream_actions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - GetStream
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-21 00:00:00.000000000 Z
11
+ date: 2023-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler