File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 26
26
ast (2.4.3 )
27
27
atomos (0.1.3 )
28
28
aws-eventstream (1.4.0 )
29
- aws-partitions (1.1111 .0 )
30
- aws-sdk-core (3.225.0 )
29
+ aws-partitions (1.1112 .0 )
30
+ aws-sdk-core (3.225.1 )
31
31
aws-eventstream (~> 1 , >= 1.3.0 )
32
32
aws-partitions (~> 1 , >= 1.992.0 )
33
33
aws-sigv4 (~> 1.9 )
34
34
base64
35
35
jmespath (~> 1 , >= 1.6.1 )
36
36
logger
37
- aws-sdk-kms (1.102 .0 )
37
+ aws-sdk-kms (1.103 .0 )
38
38
aws-sdk-core (~> 3 , >= 3.225.0 )
39
39
aws-sigv4 (~> 1.5 )
40
40
aws-sdk-s3 (1.189.0 )
210
210
bundler
211
211
fastlane
212
212
pry
213
- fastlane-plugin-stream_actions (0.3.82 )
213
+ fastlane-plugin-stream_actions (0.3.83 )
214
214
xctest_list (= 1.2.1 )
215
215
fastlane-plugin-versioning (0.7.1 )
216
216
fastlane-sirp (1.0.0 )
@@ -424,7 +424,7 @@ DEPENDENCIES
424
424
fastlane
425
425
fastlane-plugin-create_xcframework
426
426
fastlane-plugin-lizard
427
- fastlane-plugin-stream_actions (= 0.3.82 )
427
+ fastlane-plugin-stream_actions (= 0.3.83 )
428
428
fastlane-plugin-versioning
429
429
json
430
430
plist
Original file line number Diff line number Diff line change 40
40
41
41
desc "Release a new version"
42
42
lane :release do |options |
43
- previous_version_number = last_git_tag
44
43
artifacts_path = File . absolute_path ( '../StreamVideoArtifacts.json' )
45
44
extra_changes = lambda do |release_version |
46
45
# Set the framework version on the artifacts
@@ -49,7 +48,9 @@ lane :release do |options|
49
48
File . write ( artifacts_path , JSON . dump ( artifacts ) )
50
49
51
50
# Set the framework version in SystemEnvironment+Version.swift
52
- new_content = File . read ( swift_environment_path ) . gsub! ( previous_version_number , release_version ) . gsub ( '-SNAPSHOT' , '' )
51
+ old_content = File . read ( swift_environment_path )
52
+ current_version = old_content [ /version: String = "([^"]+)"/ , 1 ]
53
+ new_content = old_content . gsub ( current_version , release_version )
53
54
File . open ( swift_environment_path , 'w' ) { |f | f . puts ( new_content ) }
54
55
55
56
# Update sdk sizes
75
76
76
77
lane :merge_main do
77
78
merge_main_to_develop
78
- current_version = get_sdk_version_from_environment
79
- add_snapshot_to_current_version ( file_path : swift_environment_path )
79
+ update_release_version_to_snapshot ( file_path : swift_environment_path )
80
80
ensure_git_branch ( branch : 'develop' )
81
81
sh ( "git add #{ swift_environment_path } " )
82
- sh ( "git commit -m 'Add snapshot postfix to v #{ current_version } '" )
82
+ sh ( "git commit -m 'Update release version to snapshot '" )
83
83
sh ( 'git push' )
84
84
end
85
85
Original file line number Diff line number Diff line change 1
1
gem 'fastlane-plugin-versioning'
2
2
gem 'fastlane-plugin-create_xcframework'
3
- gem 'fastlane-plugin-stream_actions', '0.3.82 '
3
+ gem 'fastlane-plugin-stream_actions', '0.3.83 '
You can’t perform that action at this time.
0 commit comments