fastlane-plugin-stream_actions 0.3.82 → 0.3.83
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: e84877f88751777977df6ad9cfc1be93395111459ab0acab6bbff67ffa581df7
|
4
|
+
data.tar.gz: dbc221141e978debbb6fcdd5243510c2e995e81a467e62fdd5eb30c1c66522e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da873e016c4ff2df9e7b6de61459f0c0bfaddb3d1edd2ed87633dd0e7253a4770c5d1f8296719341d8a82b569a31171c9fe53cf702d8ee825bcc94dc0a27c203
|
7
|
+
data.tar.gz: 74c3f76fbc9a1773446d1e055d4805bd99ad7e0ee620c63cd14a2bc6d23626c64491f3ce814b06a4e57679bf20843c6edb339be2defbbfe0f5dba16af5a1bf45
|
@@ -1,10 +1,12 @@
|
|
1
1
|
module Fastlane
|
2
2
|
module Actions
|
3
|
-
class
|
3
|
+
class UpdateReleaseVersionToSnapshotAction < Action
|
4
4
|
def self.run(params)
|
5
5
|
content = File.read(params[:file_path])
|
6
6
|
current_version = content.match(/String\s+=\s+"([\d.]+).*"/)[1]
|
7
|
-
|
7
|
+
major, minor, _patch = current_version.split('.').map(&:to_i)
|
8
|
+
minor += 1
|
9
|
+
updated_version = "#{major}.#{minor}.0-SNAPSHOT"
|
8
10
|
new_content = content.sub!(/"[^"]+"/, "\"#{updated_version}\"")
|
9
11
|
File.open(params[:file_path], 'w') { |f| f.puts(new_content) }
|
10
12
|
UI.important("Replaced #{current_version} with #{updated_version} 📝")
|
@@ -15,7 +17,7 @@ module Fastlane
|
|
15
17
|
#####################################################
|
16
18
|
|
17
19
|
def self.description
|
18
|
-
'
|
20
|
+
'Bump a release version and add a snapshot postfix'
|
19
21
|
end
|
20
22
|
|
21
23
|
def self.available_options
|
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.83
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GetStream
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-06-
|
11
|
+
date: 2025-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: xctest_list
|
@@ -228,7 +228,6 @@ extra_rdoc_files: []
|
|
228
228
|
files:
|
229
229
|
- README.md
|
230
230
|
- lib/fastlane/plugin/stream_actions.rb
|
231
|
-
- lib/fastlane/plugin/stream_actions/actions/add_snapshot_to_current_version.rb
|
232
231
|
- lib/fastlane/plugin/stream_actions/actions/allure_api.rb
|
233
232
|
- lib/fastlane/plugin/stream_actions/actions/allure_create_launch.rb
|
234
233
|
- lib/fastlane/plugin/stream_actions/actions/allure_create_testcase.rb
|
@@ -255,6 +254,7 @@ files:
|
|
255
254
|
- lib/fastlane/plugin/stream_actions/actions/testflight_build.rb
|
256
255
|
- lib/fastlane/plugin/stream_actions/actions/touch_changelog.rb
|
257
256
|
- lib/fastlane/plugin/stream_actions/actions/update_copyright.rb
|
257
|
+
- lib/fastlane/plugin/stream_actions/actions/update_release_version_to_snapshot.rb
|
258
258
|
- lib/fastlane/plugin/stream_actions/actions/update_sdk_size_in_readme.rb
|
259
259
|
- lib/fastlane/plugin/stream_actions/actions/update_testplan.rb
|
260
260
|
- lib/fastlane/plugin/stream_actions/actions/wait_android_emu_idle.rb
|