fastlane-plugin-semantic_release 1.18.0 → 1.18.2
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: ab7836893b97a8f767c9861e00efba3ba72309b2f7ec3eaf930aa5c21f6512f2
|
4
|
+
data.tar.gz: 0d2a6085d046cf6d1b69756be7876d5d6f927fd9199c0355f38e7e458f7808a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2c28355e40615baabad486ec2047a5e161abf72ea0519303139e05dbb3a5e648d1ae9522675239223fe846d2edf0520fd0dc304dbf1d8e91430aa54664a8486
|
7
|
+
data.tar.gz: 0b0142a304aea445453fb53673420f873d2ea40116e14c854fc9f7b2abaf24ab9bbaaf838cd801dcc5d9ea54c8bdea6e94b4d8ddaed8e97c42974be5bcd8c068
|
@@ -75,7 +75,11 @@ module Fastlane
|
|
75
75
|
|
76
76
|
# Tag's format is v2.3.4-5-g7685948
|
77
77
|
# See git describe man page for more info
|
78
|
-
|
78
|
+
# It can be also v2.3.4-5 if there is no commit after tag
|
79
|
+
tag_name = tag
|
80
|
+
if tag.split('-').length >= 3
|
81
|
+
tag_name = tag.split('-')[0...-2].join('-').strip
|
82
|
+
end
|
79
83
|
parsed_version = tag_name.match(params[:tag_version_match])
|
80
84
|
|
81
85
|
if parsed_version.nil?
|
@@ -132,7 +136,7 @@ module Fastlane
|
|
132
136
|
format_pattern = lane_context[SharedValues::CONVENTIONAL_CHANGELOG_ACTION_FORMAT_PATTERN]
|
133
137
|
splitted.each do |line|
|
134
138
|
parts = line.split("|")
|
135
|
-
subject = parts[0].strip
|
139
|
+
subject = parts[0].to_s.strip
|
136
140
|
# conventional commits are in format
|
137
141
|
# type: subject (fix: app crash - for example)
|
138
142
|
commit = Helper::SemanticReleaseHelper.parse_commit(
|
@@ -35,7 +35,7 @@ module Fastlane
|
|
35
35
|
end
|
36
36
|
|
37
37
|
def self.parse_commit(params)
|
38
|
-
commit_subject = params[:commit_subject].strip
|
38
|
+
commit_subject = params[:commit_subject].to_s.strip
|
39
39
|
commit_body = params[:commit_body]
|
40
40
|
releases = params[:releases]
|
41
41
|
codepush_friendly = params[:codepush_friendly]
|
@@ -1 +1 @@
|
|
1
|
-
module Fastlane module SemanticRelease VERSION = "1.18.
|
1
|
+
module Fastlane module SemanticRelease VERSION = "1.18.2" 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.18.
|
4
|
+
version: 1.18.2
|
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:
|
11
|
+
date: 2023-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|