fastlane-plugin-stream_actions 0.1.10 → 0.1.12
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 +4 -4
- data/lib/fastlane/plugin/stream_actions/actions/is_check_required.rb +0 -2
- data/lib/fastlane/plugin/stream_actions/actions/pod_push_safely.rb +0 -2
- data/lib/fastlane/plugin/stream_actions/actions/read_changelog.rb +9 -1
- data/lib/fastlane/plugin/stream_actions/actions/touch_changelog.rb +22 -16
- data/lib/fastlane/plugin/stream_actions/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c23c0e7acb8b64508b6dd9b61106f03421146353e2937eed53110eb5725b1e9d
|
4
|
+
data.tar.gz: 56ac3976b5c6cf39d28bd9836ad310fc684b607a470418901bf9e8adcd1e5137
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 685c33fca52dc107965782c137b6f27427c628e95763bd21b32c5bc6fd36ddb5c922056029d2fda0a449bd2931b0e1b6e8ab1f09bf5656eadc8af959d70c4bc7
|
7
|
+
data.tar.gz: 83d1e564c0eab9fabf3887a153b60f0545678cae978c91156c40597e7f0b12f286a06e06d24bfda0bf6f9488d8871f38aee1c7740a00d227087db8857465d633
|
@@ -7,7 +7,7 @@ module Fastlane
|
|
7
7
|
UI.message("Getting changelog for #{params[:version]}")
|
8
8
|
reading_changelog = false
|
9
9
|
changes = ''
|
10
|
-
changelog_lines = File.readlines(
|
10
|
+
changelog_lines = File.readlines(params[:changelog_path])
|
11
11
|
changelog_lines.each do |line|
|
12
12
|
start_token = '# ['
|
13
13
|
if reading_changelog
|
@@ -40,6 +40,14 @@ module Fastlane
|
|
40
40
|
verify_block: proc do |v|
|
41
41
|
UI.user_error!("You need to pass the version of the release you want to obtain the changelog from") unless v
|
42
42
|
end
|
43
|
+
),
|
44
|
+
FastlaneCore::ConfigItem.new(
|
45
|
+
key: :changelog_path,
|
46
|
+
env_name: 'FL_CHANGELOG_PATH',
|
47
|
+
description: 'The path to your project CHANGELOG.md',
|
48
|
+
is_string: true,
|
49
|
+
default_value: './CHANGELOG.md',
|
50
|
+
optional: true
|
43
51
|
)
|
44
52
|
]
|
45
53
|
end
|
@@ -54,22 +54,28 @@ module Fastlane
|
|
54
54
|
|
55
55
|
def self.available_options
|
56
56
|
[
|
57
|
-
FastlaneCore::ConfigItem.new(
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
57
|
+
FastlaneCore::ConfigItem.new(
|
58
|
+
key: :github_repo,
|
59
|
+
env_name: 'GITHUB_REPOSITORY',
|
60
|
+
description: 'The owner and repository name. For example, octocat/Hello-World',
|
61
|
+
is_string: true
|
62
|
+
),
|
63
|
+
FastlaneCore::ConfigItem.new(
|
64
|
+
key: :changelog_path,
|
65
|
+
env_name: 'FL_CHANGELOG_PATH',
|
66
|
+
description: 'The path to your project CHANGELOG.md',
|
67
|
+
is_string: true,
|
68
|
+
default_value: './CHANGELOG.md',
|
69
|
+
optional: true
|
70
|
+
),
|
71
|
+
FastlaneCore::ConfigItem.new(
|
72
|
+
key: :release_version,
|
73
|
+
env_name: 'FL_CHANGELOG_RELEASE_VERSION',
|
74
|
+
description: 'The release version, according to semantic versioning',
|
75
|
+
is_string: true,
|
76
|
+
default_value: '',
|
77
|
+
optional: false
|
78
|
+
)
|
73
79
|
]
|
74
80
|
end
|
75
81
|
|
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.1.
|
4
|
+
version: 0.1.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GetStream
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|