reissue 0.4.5 → 0.4.6
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/CHANGELOG.md +8 -15
- data/lib/reissue/fragment_handler/git_fragment_handler.rb +17 -4
- data/lib/reissue/rake.rb +2 -1
- data/lib/reissue/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9c61992d2172981673e7c362ea9cbcdcaa670ef4ceb3fed96788b5505fbc711e
|
|
4
|
+
data.tar.gz: eb845aa92d394db11bdc07c65a932c235f52b7f791112925da59be72231fb117
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 21de07a153e7d6fe299cd12400348c727e1b712ab3d6f64ee2c58a77955cf6f6b963d7a115edf4b13c77384684101b929aaae184f12859377e3a3a65a4007a90
|
|
7
|
+
data.tar.gz: b5d16f47253ede33cfdc994209c09678ef2fd258bd8c3c0a9411cba22918445d14a28d9741865ca9d33f8b29e16723475cb04e5f031da1d71477cbe585d37252
|
data/CHANGELOG.md
CHANGED
|
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
7
7
|
|
|
8
|
-
## [0.4.
|
|
8
|
+
## [0.4.6] - 2025-12-05
|
|
9
9
|
|
|
10
10
|
### Added
|
|
11
11
|
|
|
@@ -17,25 +17,18 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
17
17
|
|
|
18
18
|
- Duplicate changelog entries with incorrect release dates. (1e03b68)
|
|
19
19
|
|
|
20
|
-
## [0.4.4] - 2025-10-17
|
|
21
|
-
|
|
22
20
|
### Changed
|
|
23
21
|
|
|
24
|
-
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
- Branch naming convention to use distinct prefixes for finalize vs reissue (d1add14)
|
|
23
|
+
|
|
24
|
+
## [0.4.5] - 2025-11-21
|
|
27
25
|
|
|
28
26
|
### Added
|
|
29
27
|
|
|
30
|
-
-
|
|
31
|
-
-
|
|
32
|
-
-
|
|
33
|
-
- Release flow integration documentation and verification tests (e038230)
|
|
34
|
-
- Version bumping documentation to README.md (4f2a254)
|
|
35
|
-
- Version trailer examples and usage guide (4f2a254)
|
|
36
|
-
- PR comments showing code coverage percentage and threshold status (bfa4619)
|
|
37
|
-
- ChatNotifier to update slack about CI runs (55dfeb8)
|
|
28
|
+
- NOTIFY_APP_NAME ENV var for CI runs in 5700751d (e2c75ff)
|
|
29
|
+
- Support for alphanumery patch version tag matching in 5c17ce36 (e2c75ff)
|
|
30
|
+
- Info in the README about adding trailers in development of Reissue (68117e0)
|
|
38
31
|
|
|
39
32
|
### Fixed
|
|
40
33
|
|
|
41
|
-
-
|
|
34
|
+
- Duplicate changelog entries with incorrect release dates. (1e03b68)
|
|
@@ -119,16 +119,29 @@ module Reissue
|
|
|
119
119
|
commits.each do |commit|
|
|
120
120
|
sha = commit[:sha]
|
|
121
121
|
message = commit[:message]
|
|
122
|
+
lines = message.lines
|
|
122
123
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
line =
|
|
126
|
-
|
|
124
|
+
i = 0
|
|
125
|
+
while i < lines.length
|
|
126
|
+
line = lines[i].rstrip
|
|
127
|
+
i += 1
|
|
128
|
+
next if line.strip.empty?
|
|
127
129
|
|
|
128
130
|
if (match = line.match(TRAILER_REGEX))
|
|
129
131
|
section_name = normalize_section_name(match[1])
|
|
130
132
|
trailer_value = match[2].strip
|
|
131
133
|
|
|
134
|
+
# Collect continuation lines (non-empty lines that don't start a new changelog trailer)
|
|
135
|
+
while i < lines.length
|
|
136
|
+
next_line = lines[i].rstrip
|
|
137
|
+
# Stop at empty line or another changelog trailer
|
|
138
|
+
break if next_line.strip.empty?
|
|
139
|
+
break if next_line.match(TRAILER_REGEX)
|
|
140
|
+
|
|
141
|
+
trailer_value += " #{next_line.strip}"
|
|
142
|
+
i += 1
|
|
143
|
+
end
|
|
144
|
+
|
|
132
145
|
result[section_name] ||= []
|
|
133
146
|
# Append the short SHA in parentheses
|
|
134
147
|
result[section_name] << "#{trailer_value} (#{sha})"
|
data/lib/reissue/rake.rb
CHANGED
|
@@ -197,7 +197,8 @@ module Reissue
|
|
|
197
197
|
finalize_message = "Finalize the changelog for version #{version} on #{date}"
|
|
198
198
|
if commit_finalize
|
|
199
199
|
if finalize_with_branch?
|
|
200
|
-
|
|
200
|
+
# Use "finalize/" prefix for the version being released
|
|
201
|
+
tasker["#{name}:branch"].invoke("finalize/#{version}")
|
|
201
202
|
end
|
|
202
203
|
system("git add -u")
|
|
203
204
|
system("git commit -m '#{finalize_message}'")
|
data/lib/reissue/version.rb
CHANGED