reissue 0.4.20 → 0.4.21
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 +2 -21
- data/Rakefile +0 -2
- data/lib/reissue/rake.rb +2 -18
- data/lib/reissue/version.rb +2 -2
- 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: f3a28fd03cc31dda77bcbde9e17f4e5aebf6ecb50092b2a97e2a7861385f9e94
|
|
4
|
+
data.tar.gz: a2d7b1a839d0c42aee1dc707ea0caa9bcf0f9387a8983788cf455c726f9b877e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2f5945026bb388b8c711e150fac291a1a47ad782d02f078a0e305739c3bbc5d4303bbc545eb6b24f1da2795b2edd4ae8872ea044589b527e224ccff3a46273e6
|
|
7
|
+
data.tar.gz: 763d939af9da0dd92a800dfc299a978d67eada73de4b76bbfce50fd6556f8aa3e89ab2ffd79e66d79c6f8a2165b4806c0c312375481792ca83f36ec93a495550
|
data/CHANGELOG.md
CHANGED
|
@@ -5,29 +5,10 @@ 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.21] - 2026-03-11
|
|
9
|
+
|
|
8
10
|
## [0.4.20] - 2026-03-10
|
|
9
11
|
|
|
10
12
|
### Fixed
|
|
11
13
|
|
|
12
14
|
- deferred_finalize skipping fragment collection when changelog has versioned entry with Unreleased date (d9d0bd7)
|
|
13
|
-
|
|
14
|
-
## [0.4.19] - 2026-03-09
|
|
15
|
-
|
|
16
|
-
### Added
|
|
17
|
-
|
|
18
|
-
- Support parsing changelog version entries without a date field (e.g. ## [Unreleased]) (75c5d6c)
|
|
19
|
-
- Print ## [Unreleased] without trailing date suffix when version is Unreleased (aed6011)
|
|
20
|
-
- ChangelogUpdater handles Unreleased version strings without crashing (d5f4e3e)
|
|
21
|
-
- ChangelogUpdater#finalize accepts resolved_version parameter to replace Unreleased (d5f4e3e)
|
|
22
|
-
- VersionUpdater#set_version for writing arbitrary version strings like Unreleased (33b3d76)
|
|
23
|
-
- Reissue.deferred_call sets VERSION to Unreleased and adds ## [Unreleased] changelog entry (76e3d61)
|
|
24
|
-
- Reissue.deferred_finalize resolves version from segment, explicit version, or git trailers at release time (1bdf36f)
|
|
25
|
-
- deferred_versioning flag for Reissue::Task to defer version bumping until finalize (aac3ade)
|
|
26
|
-
- Rake reissue task sets VERSION to Unreleased in deferred mode (aac3ade)
|
|
27
|
-
- Rake reissue:finalize task accepts version or segment argument in deferred mode (aac3ade)
|
|
28
|
-
- reissue_deferred_versioning attribute in Hoe plugin (e5a78d4)
|
|
29
|
-
- End-to-end integration tests for the deferred versioning workflow (77a313e)
|
|
30
|
-
|
|
31
|
-
### Changed
|
|
32
|
-
|
|
33
|
-
- set_version uses RELEASE_VERSION_MATCH paralleling RELEASE_DATE_MATCH pattern (efec0e5)
|
data/Rakefile
CHANGED
data/lib/reissue/rake.rb
CHANGED
|
@@ -319,27 +319,11 @@ module Reissue
|
|
|
319
319
|
end
|
|
320
320
|
end
|
|
321
321
|
|
|
322
|
-
desc
|
|
323
|
-
Create a new branch for the next version.
|
|
324
|
-
|
|
325
|
-
If the branch already exists it will be deleted and a new one will be created along with a new tag.
|
|
326
|
-
MSG
|
|
327
|
-
|
|
322
|
+
desc "Create or switch to a branch for the release workflow."
|
|
328
323
|
task "#{name}:branch", [:branch_name] do |task, args|
|
|
329
324
|
raise "No branch name specified" unless args[:branch_name]
|
|
330
325
|
branch_name = args[:branch_name]
|
|
331
|
-
|
|
332
|
-
if system("git show-ref --verify --quiet refs/heads/#{branch_name}")
|
|
333
|
-
# Extract version from branch name (e.g., "reissue/0.4.1" -> "0.4.1")
|
|
334
|
-
version = branch_name.sub(/^reissue\//, "")
|
|
335
|
-
# Delete matching tag if it exists
|
|
336
|
-
system("git tag -d v#{version} 2>/dev/null || true")
|
|
337
|
-
# Delete the local branch
|
|
338
|
-
run_command("git branch -D #{branch_name}", "Failed to delete existing branch #{branch_name}")
|
|
339
|
-
# Delete the remote tracking ref to prevent --force-with-lease from comparing against stale data
|
|
340
|
-
system("git branch -d -r origin/#{branch_name} 2>/dev/null")
|
|
341
|
-
end
|
|
342
|
-
run_command("git checkout -b #{branch_name}", "Failed to create and checkout branch #{branch_name}")
|
|
326
|
+
run_command("git checkout -B #{branch_name}", "Failed to checkout branch #{branch_name}")
|
|
343
327
|
end
|
|
344
328
|
|
|
345
329
|
desc "Push the current branch to the remote repository."
|
data/lib/reissue/version.rb
CHANGED