fastlane-plugin-write_changelog_from_commits 2.2.1 → 3.0.0

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: 645a1b34a848584dfe80a5fc48b4889a7880641a7bd8527dd4f8488ded968b66
4
- data.tar.gz: ad43fe817fcbb71058876fdb10f0c56231be1ab16ad945254ed85e5853585a28
3
+ metadata.gz: 5707d97c28c877e78013eb1b8e5bf6757e064f6bf5d77e326a8abb1f052ed4a6
4
+ data.tar.gz: 24ca778219cfd443a9ae03fcfd28fd82e62f97787899c2a1ad453121635b5691
5
5
  SHA512:
6
- metadata.gz: 53490cb3ae42f400e2f9da13bb98a77346c9333a6fe1b551c2a126e8719bd9d3aee19a3fddb9ea0002bebacd1f77f3d4ea62026f3e867623d656be22a0f0a4e3
7
- data.tar.gz: a0419233ae69bbf39d7a619df72e50f402048c2cf884c8d18e396ac4b43be769fc53f4645662f3a8ff55771f4668b9e8cdc27276633f8df754d0465aebd2667b
6
+ metadata.gz: 10517b260337dc51802a33db747bcd9edcceecf79528b049ef6ec96843ade82c2e12c92690739b17cd4d1cb0cdc9c4054f89950f00c51605e2feeec2df6663d1
7
+ data.tar.gz: 243b911308f277f9292ee14ed08d3728aee6b160768f2370d4c55ee7e1d6ea33135824860a131bb4f5ead13d3ac156e3a23913924470d10a2ca678a04a97ef62
@@ -18,8 +18,7 @@ module Fastlane
18
18
  params[:path] = "./" unless params[:path]
19
19
  end
20
20
 
21
- params[:commit_prefixes] ||= ""
22
- params[:commit_prefixes] = params[:commit_prefixes].gsub(/\s+/, "").split(",")
21
+ params[:commit_prefixes] ||= []
23
22
 
24
23
  Dir.chdir(params[:path]) do
25
24
  changelog = Actions.git_log_between("%B", from, to, nil, nil, nil)
@@ -122,7 +121,8 @@ module Fastlane
122
121
  FastlaneCore::ConfigItem.new(
123
122
  key: :commit_prefixes,
124
123
  env_name: "WRITE_CHANGELOG_FROM_COMMITS_PREFIXES",
125
- description: "Comma separated list of prefixes to group in the changelog (omit to place all lines under additional_section_name)",
124
+ description: "List of prefixes to group in the changelog (omit to place all lines under additional_section_name)",
125
+ type: Array,
126
126
  optional: true,
127
127
  ),
128
128
  FastlaneCore::ConfigItem.new(
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module WriteChangelogFromCommits
3
- VERSION = "2.2.1"
3
+ VERSION = "3.0.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-write_changelog_from_commits
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lewis Bright
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-03 00:00:00.000000000 Z
11
+ date: 2021-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry