fastlane-plugin-stream_actions 0.3.71 → 0.3.73

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: dd6dfc8695df408bd77d6876f440d4d7d0c532166d6a13f46713a222c6807658
4
- data.tar.gz: 0e26a1d558a1f301eac7665d1da4ffea2a8b87ecbd1a8307224a9931107faf9b
3
+ metadata.gz: b2fa982e3423bbbaede57cb7a7d663c305551886f5fda63c2fcaecef1285f931
4
+ data.tar.gz: 6ae0da03d2782fc4555fd834b44bee53a1c617a8e4a5363e148d6c35b650ab0a
5
5
  SHA512:
6
- metadata.gz: 163c877a01d77bbbe1bec44289e3e1686d4fc4a6d7acf07459fbabe15b58f66e6cbbec6aeea12b57a018df129ae7e048d5f343e666678cbf05838025aeee9467
7
- data.tar.gz: 288ea45a569995bc664de89a22dc5f3246ee184fed7970d0e357f2cf940a88eb18d8a825b8d268e6ee8f51cf9ab0b9fee64377a978567d8b93d3296963361c13
6
+ metadata.gz: d70f251404ac81dd4e8c0c245a7ca1b34d7da710bf2dee7b89ae1763d1cd02e40bd43fc3ecb89360e46e81487c521f04a51a8bd42403cf42fc4241762174f086
7
+ data.tar.gz: 3f5bfe55267955c8dc7a9df6e8da713c81881cac42b8bd9da97d57a8fb7d44551e4add99dfe94020c6c26486221f8ee8ea1029f106a731eaf42ca9284d0c76d2
@@ -24,7 +24,7 @@ module Fastlane
24
24
  branch_value = is_kb ? branch_value_kb.round(0) : branch_value_mb
25
25
  benchmark_value_kb = benchmark_sizes[sdk_name.to_s]
26
26
  benchmark_value_mb = (benchmark_value_kb / 1024.0).round(2)
27
- benchmark_value = is_kb ? benchmark_value_kb : benchmark_value_mb
27
+ benchmark_value = is_kb ? benchmark_value_kb.round(0) : benchmark_value_mb
28
28
  max_tolerance = params[:max_tolerance] || is_kb ? 500 : 5000 # By default, Max Tolerance is 500 Kilobytes or 5000 Bytes
29
29
  fine_tolerance = params[:fine_tolerance] || is_kb ? 250 : 2500 # By default, Fine Tolerance is 250 Kilobytes or 2500 Bytes
30
30
 
@@ -58,7 +58,7 @@ module Fastlane
58
58
  FastlaneCore::PrintTable.print_values(title: 'SDK Size', config: params[:branch_sizes])
59
59
 
60
60
  if other_action.is_ci
61
- if is_release || ENV['GITHUB_EVENT_NAME'].to_s == 'push'
61
+ if is_release || (ENV['GITHUB_EVENT_NAME'].to_s == 'push' && ["main", "develop"].include?(other_action.current_branch))
62
62
  benchmark_config[benchmark_key] = params[:branch_sizes]
63
63
  File.write(sdk_size_path, JSON.pretty_generate(benchmark_config))
64
64
  Dir.chdir(File.dirname(sdk_size_path)) do
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module StreamActions
3
- VERSION = '0.3.71'
3
+ VERSION = '0.3.73'
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.3.71
4
+ version: 0.3.73
5
5
  platform: ruby
6
6
  authors:
7
7
  - GetStream
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-29 00:00:00.000000000 Z
11
+ date: 2024-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xctest_list