fastlane-plugin-stream_actions 0.3.70 → 0.3.71

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: 572e08d296934fa492b602ab85ee2b5b96c5558c9bafb2c52e92bb600e4e79b9
4
- data.tar.gz: 29e1f387072be14179b5b3727638f6dec7be999a215cac89c441c79bab4f4f91
3
+ metadata.gz: dd6dfc8695df408bd77d6876f440d4d7d0c532166d6a13f46713a222c6807658
4
+ data.tar.gz: 0e26a1d558a1f301eac7665d1da4ffea2a8b87ecbd1a8307224a9931107faf9b
5
5
  SHA512:
6
- metadata.gz: 996688ff2b54728f5584ac3ab0d60e393f7b74350943405874eec10c72239b59ab97b52738df070089e781d058a06f04b2623b62c69a70814b477e5baa74d946
7
- data.tar.gz: 8e6ff390fd9ccb4e4b39d9219df08592d2ee52c59d054364513fb9009de0f975f3918eaed6ed8f4c5a9bbb62ca090f1e26ec13c433ac464eaf33f50528ed9176
6
+ metadata.gz: 163c877a01d77bbbe1bec44289e3e1686d4fc4a6d7acf07459fbabe15b58f66e6cbbec6aeea12b57a018df129ae7e048d5f343e666678cbf05838025aeee9467
7
+ data.tar.gz: 288ea45a569995bc664de89a22dc5f3246ee184fed7970d0e357f2cf940a88eb18d8a825b8d268e6ee8f51cf9ab0b9fee64377a978567d8b93d3296963361c13
@@ -7,15 +7,24 @@ module Fastlane
7
7
  api_key: params[:api_key]
8
8
  ) + 1
9
9
 
10
- Spaceship::ConnectAPI.token = Spaceship::ConnectAPI::Token.from(hash: params[:api_key])
11
- app_store_versions = Spaceship::ConnectAPI::App.find(params[:app_identifier]).app_store_versions
12
-
13
10
  targets = params[:extensions] << params[:app_target]
11
+
14
12
  targets.each do |target|
15
13
  other_action.increment_build_number_in_plist(build_number: build_number.to_s, target: target)
16
- next if app_store_versions.empty?
14
+ end
17
15
 
18
- other_action.increment_version_number_in_plist(version_number: app_store_versions.first.version_string, target: target)
16
+ if params[:app_version]
17
+ targets.each do |target|
18
+ other_action.increment_version_number_in_plist(version_number: params[:app_version].to_s, target: target)
19
+ end
20
+ else
21
+ Spaceship::ConnectAPI.token = Spaceship::ConnectAPI::Token.from(hash: params[:api_key])
22
+ app_store_versions = Spaceship::ConnectAPI::App.find(params[:app_identifier]).app_store_versions
23
+ unless app_store_versions.empty?
24
+ targets.each do |target|
25
+ other_action.increment_version_number_in_plist(version_number: app_store_versions.first.version_string, target: target)
26
+ end
27
+ end
19
28
  end
20
29
 
21
30
  other_action.gym(
@@ -102,6 +111,11 @@ module Fastlane
102
111
  UI.user_error!('DemoApp target name has to be specified') if target.nil? || target.empty?
103
112
  end
104
113
  ),
114
+ FastlaneCore::ConfigItem.new(
115
+ key: :app_version,
116
+ description: 'DemoApp version',
117
+ optional: true
118
+ ),
105
119
  FastlaneCore::ConfigItem.new(
106
120
  key: :extensions,
107
121
  description: 'Extensions/dependencies target names to bump build number',
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module StreamActions
3
- VERSION = '0.3.70'
3
+ VERSION = '0.3.71'
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.70
4
+ version: 0.3.71
5
5
  platform: ruby
6
6
  authors:
7
7
  - GetStream
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-24 00:00:00.000000000 Z
11
+ date: 2024-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xctest_list