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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5ef812dbcea96e962840220c51f6107352672125790ac6583ee09e96508ff331
4
- data.tar.gz: e2b18453be73f0111d1033ed007816bed8f7209ecd6bceae54695233730a09c2
3
+ metadata.gz: f3a28fd03cc31dda77bcbde9e17f4e5aebf6ecb50092b2a97e2a7861385f9e94
4
+ data.tar.gz: a2d7b1a839d0c42aee1dc707ea0caa9bcf0f9387a8983788cf455c726f9b877e
5
5
  SHA512:
6
- metadata.gz: 41722aad368f14d32a1590f46d31d70c707c6e295d8d3516d3ab7b3b0f8145b81d3c80e31895b87ce64a553dedce8a9b57e268af671be3cc689ca03778c4e335
7
- data.tar.gz: 73f63925f09204f96348a2064901508467d627cf71eb65952b82906cc865aafaf413848c7094a5075bb602c4461b097a5140880756b42538f43aed4d9c38305a
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
@@ -19,5 +19,3 @@ Reissue::Task.create :reissue do |task|
19
19
  task.fragment = :git # Use git trailers for changelog entries
20
20
  task.push_finalize = :branch
21
21
  end
22
-
23
- Rake.application.options.trace = true
data/lib/reissue/rake.rb CHANGED
@@ -319,27 +319,11 @@ module Reissue
319
319
  end
320
320
  end
321
321
 
322
- desc <<~MSG
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
- # Force create branch by deleting if exists, then creating fresh
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."
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Reissue
4
- VERSION = "0.4.20"
5
- RELEASE_DATE = "2026-03-10"
4
+ VERSION = "0.4.21"
5
+ RELEASE_DATE = "2026-03-11"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reissue
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.20
4
+ version: 0.4.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Gay