fastlane-plugin-stream_actions 0.3.77 → 0.3.78
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4fc7f1f957ba109f3a3ade4f960df6dbbaafc970ce9ad407076eb71ca823f5b
|
4
|
+
data.tar.gz: 115443726f0fcce522c8ff5577dea96c0b6376624feac383e4c95ee99cc239e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2846ef7fc9fa232c00a643f9c37efa28e8dcf59788f8b0ff6f59d42a98e610db98d132a263cd98ce0481fed2579aef58bd5042d721c2eb4da1c8e8e561a8bb5e
|
7
|
+
data.tar.gz: 0773e19f3f6a8c216300417d6364faa86590011dc9ae06685e507e0e8a586005c65428d077bba6b6316fb147720dc3a168e2d95f981d430e6719f1d2064cd344
|
@@ -0,0 +1,35 @@
|
|
1
|
+
module Fastlane
|
2
|
+
module Actions
|
3
|
+
class SelectXcodeAction < Action
|
4
|
+
def self.run(params)
|
5
|
+
xcodes = sh('ls /Applications | grep Xcode')
|
6
|
+
UI.user_error!("Xcode #{params[:version]} is not installed") unless xcodes.include?(params[:version])
|
7
|
+
|
8
|
+
sh("sudo xcode-select -s /Applications/Xcode_#{params[:version]}.app")
|
9
|
+
sh('xcodebuild -version')
|
10
|
+
end
|
11
|
+
|
12
|
+
#####################################################
|
13
|
+
# @!group Documentation
|
14
|
+
#####################################################
|
15
|
+
|
16
|
+
def self.description
|
17
|
+
'Select Xcode version'
|
18
|
+
end
|
19
|
+
|
20
|
+
def self.available_options
|
21
|
+
[
|
22
|
+
FastlaneCore::ConfigItem.new(
|
23
|
+
key: :version,
|
24
|
+
env_name: 'GITHUB_REPOSITORY',
|
25
|
+
description: 'Xcode version'
|
26
|
+
)
|
27
|
+
]
|
28
|
+
end
|
29
|
+
|
30
|
+
def self.is_supported?(platform)
|
31
|
+
[:ios].include?(platform)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
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.
|
4
|
+
version: 0.3.78
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GetStream
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: xctest_list
|
@@ -249,6 +249,7 @@ files:
|
|
249
249
|
- lib/fastlane/plugin/stream_actions/actions/read_changelog.rb
|
250
250
|
- lib/fastlane/plugin/stream_actions/actions/release_ios_sdk.rb
|
251
251
|
- lib/fastlane/plugin/stream_actions/actions/retrieve_xctest_names.rb
|
252
|
+
- lib/fastlane/plugin/stream_actions/actions/select_xcode.rb
|
252
253
|
- lib/fastlane/plugin/stream_actions/actions/setup_git_config.rb
|
253
254
|
- lib/fastlane/plugin/stream_actions/actions/show_sdk_size.rb
|
254
255
|
- lib/fastlane/plugin/stream_actions/actions/testflight_build.rb
|