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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 02e2a2e8cb2e5d2d5d925ed793baccbe10db3871f6e2857febf4d80d80807987
4
- data.tar.gz: f7e24644ce221d6be78236e8b49f12e964b9e0060a944ca07b78fc736d7b21ad
3
+ metadata.gz: c23c0e7acb8b64508b6dd9b61106f03421146353e2937eed53110eb5725b1e9d
4
+ data.tar.gz: 56ac3976b5c6cf39d28bd9836ad310fc684b607a470418901bf9e8adcd1e5137
5
5
  SHA512:
6
- metadata.gz: 7c090f9c7fd35b268824dc8a80202b01f5d0563e5940cbd106395fa6e0444a4d2ef35916d9cc551079e5521f66037d55080176b5f143f72bbc96b62d0590de64
7
- data.tar.gz: 52e3851eaf9063f965008dfb628e34028c886cb27c9671be6ef25d0233c5a609f55fa17223460caada3b899d2dac177c4670f7b3e8388778b5eff2b314a2dc26
6
+ metadata.gz: 685c33fca52dc107965782c137b6f27427c628e95763bd21b32c5bc6fd36ddb5c922056029d2fda0a449bd2931b0e1b6e8ab1f09bf5656eadc8af959d70c4bc7
7
+ data.tar.gz: 83d1e564c0eab9fabf3887a153b60f0545678cae978c91156c40597e7f0b12f286a06e06d24bfda0bf6f9488d8871f38aee1c7740a00d227087db8857465d633
@@ -1,7 +1,5 @@
1
1
  module Fastlane
2
2
  module Actions
3
- require 'fastlane/actions/xcodebuild'
4
-
5
3
  class IsCheckRequiredAction < Action
6
4
  def self.run(params)
7
5
  return true unless params[:github_pr_num]
@@ -1,7 +1,5 @@
1
1
  module Fastlane
2
2
  module Actions
3
- require 'fastlane/actions/xcodebuild'
4
-
5
3
  class PodPushSafelyAction < Action
6
4
  def self.run(params)
7
5
  pod_push_safely(params)
@@ -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('../CHANGELOG.md')
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(key: :github_repo,
58
- env_name: 'GITHUB_REPOSITORY',
59
- description: 'The owner and repository name. For example, octocat/Hello-World',
60
- is_string: true),
61
- FastlaneCore::ConfigItem.new(key: :changelog_path,
62
- env_name: 'FL_CHANGELOG_PATH',
63
- description: 'The path to your project CHANGELOG.md',
64
- is_string: true,
65
- default_value: './CHANGELOG.md',
66
- optional: true),
67
- FastlaneCore::ConfigItem.new(key: :release_version,
68
- env_name: 'FL_CHANGELOG_RELEASE_VERSION',
69
- description: 'The release version, according to semantic versioning',
70
- is_string: true,
71
- default_value: '',
72
- optional: false)
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
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module StreamActions
3
- VERSION = "0.1.10"
3
+ VERSION = "0.1.12"
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.1.10
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-02 00:00:00.000000000 Z
11
+ date: 2022-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler