fastlane-plugin-semantic_release 1.25.0 → 1.26.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: 7b96e058394c1ceaff83c7370a20356dadf987637cd70336e0cd86a9bb4c3663
4
- data.tar.gz: 76cd28e4261f4630d9c0eb5f9c06aa28f5296687cd44e558e14009b3ba33c5cf
3
+ metadata.gz: 5cf99f6ea972c66fc3eb29de18f3c75776efe3a230f30fe113da2fb29d98e370
4
+ data.tar.gz: 6520357d941af83cea9c6242514d7d6676b489e315f964fa54001dc76d2719d6
5
5
  SHA512:
6
- metadata.gz: b0001e5d901a71a7b2753cded25523fd130552f50e8a0f16ec547e1cc5f9f61e61953559309684355f94a2218c1c82da33d85179544ea3b91f0a761330d79281
7
- data.tar.gz: eaa3e84195b4730a23d68f7a1a96fa772c1496fc19e3dce762de9800a060baeda03759a2387142c4d458e271eacc0282daa7ba84426e4d1d3ccd0b9e7dd96f1b
6
+ metadata.gz: d4091da42d610a0c353604250c617aa43b16e63e29db90c688e61dcbdb50a732cf16c26ca97a68443b6cb67f263f8ca7693b911824ca5e3a7e2bde6be7424f4b
7
+ data.tar.gz: 7759c8ac83a8f867ba5c79f90ebdcb187c04c31315864606712c99d274b7528e978a820d0e888378ab2cffad4b9438bc2630031f4c7b603cd28e1744cfa40b53
@@ -84,7 +84,7 @@ module Fastlane
84
84
 
85
85
  def self.build_scope_lines(type_commits, format, commit_url, params)
86
86
  result = ""
87
- grouped = type_commits.group_by { |commit| commit[:scope] }
87
+ grouped = type_commits.group_by { |commit| commit[:scope]&.downcase }
88
88
 
89
89
  grouped.each do |scope, scope_commits|
90
90
  if scope.nil? || scope_commits.length == 1
@@ -92,7 +92,8 @@ module Fastlane
92
92
  result += build_commit_line("-", commit, format, commit_url, params, include_scope: true)
93
93
  end
94
94
  else
95
- result += "- #{style_text("#{scope}:", format, 'bold')}\n"
95
+ display_scope = scope_commits.first[:scope]
96
+ result += "- #{style_text("#{display_scope}:", format, 'bold')}\n"
96
97
  scope_commits.each do |commit|
97
98
  result += build_commit_line(" -", commit, format, commit_url, params, include_scope: false)
98
99
  end
@@ -25,9 +25,9 @@ module Fastlane
25
25
  end
26
26
 
27
27
  def self.should_exclude_commit(params)
28
- commit_scope = params[:commit_scope]
29
- scopes_to_include = params[:include_scopes]
30
- scopes_to_ignore = params[:ignore_scopes]
28
+ commit_scope = params[:commit_scope]&.downcase
29
+ scopes_to_include = params[:include_scopes].map(&:downcase)
30
+ scopes_to_ignore = params[:ignore_scopes].map(&:downcase)
31
31
 
32
32
  return !scopes_to_include.include?(commit_scope) unless scopes_to_include.empty?
33
33
  return scopes_to_ignore.include?(commit_scope) unless commit_scope.nil?
@@ -1 +1 @@
1
- module Fastlane module SemanticRelease VERSION = "1.25.0" end end
1
+ module Fastlane module SemanticRelease VERSION = "1.26.0" end end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-semantic_release
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.25.0
4
+ version: 1.26.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jiří Otáhal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-02-28 00:00:00.000000000 Z
11
+ date: 2026-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler