reissue 0.4.11 → 0.4.12
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 +6 -2
- data/lib/reissue/rake.rb +16 -10
- 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: cf56ad0901ffde10b776b0529140063ae09bc092f6325130308e2df0be4b7168
|
|
4
|
+
data.tar.gz: 50ae2fee9430aa29e1624aab368e98f96953abc7b49cfd6662b619c155d38c24
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 397b4f6d6f09afad74c5fc429fcf05da8c12d3fce2f21345911fc2d7d4ef2b6ca8a0ecd64d7d0bc7b753e09171e86e7cb156fe1e73ee5282c78298f6993fd57e
|
|
7
|
+
data.tar.gz: 59b5f79e5a50d4481f1a507c2aed416714237b6cf03ec0db823e85b7d82af0c39e7372a60d51747df2d6e61f57bfff9696e1065a1adef7fc21f683ae5dce23e9
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ 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.12] - 2026-02-09
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- reissue:bump now reads Version trailers regardless of whether the version file matches the last tag (98905d6)
|
|
13
|
+
|
|
8
14
|
## [0.4.11] - 2026-02-06
|
|
9
15
|
|
|
10
16
|
### Added
|
|
@@ -23,5 +29,3 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
23
29
|
- Checksums not staged during finalize task (307939e)
|
|
24
30
|
- Stage updated_paths fails when files do not exist (16b801e)
|
|
25
31
|
- Release workflow fails with working-directory command not found (9068f04)
|
|
26
|
-
|
|
27
|
-
## [0.4.10] - 2026-01-27
|
data/lib/reissue/rake.rb
CHANGED
|
@@ -366,26 +366,32 @@ module Reissue
|
|
|
366
366
|
# Get version from last git tag
|
|
367
367
|
tag_version = handler.last_tag_version
|
|
368
368
|
|
|
369
|
-
|
|
370
|
-
if tag_version && current_version == tag_version
|
|
371
|
-
bump = handler.read_version_bump
|
|
369
|
+
bump = handler.read_version_bump
|
|
372
370
|
|
|
371
|
+
if tag_version && current_version == tag_version
|
|
373
372
|
if bump
|
|
374
373
|
updater = Reissue::VersionUpdater.new(version_file, version_redo_proc: version_redo_proc)
|
|
375
374
|
updater.call(bump)
|
|
376
375
|
puts "Version bumped (#{bump}) to #{updater.instance_variable_get(:@new_version)}"
|
|
377
376
|
end
|
|
378
377
|
elsif tag_version && current_version != tag_version
|
|
379
|
-
puts "Version already bumped (#{tag_version} → #{current_version}), skipping"
|
|
380
|
-
else
|
|
381
|
-
# No tag exists, check for version trailers anyway
|
|
382
|
-
bump = handler.read_version_bump
|
|
383
|
-
|
|
384
378
|
if bump
|
|
385
379
|
updater = Reissue::VersionUpdater.new(version_file, version_redo_proc: version_redo_proc)
|
|
386
|
-
updater.
|
|
387
|
-
|
|
380
|
+
desired_version = updater.redo(tag_version, bump)
|
|
381
|
+
|
|
382
|
+
if desired_version > current_version
|
|
383
|
+
updater.call(bump)
|
|
384
|
+
puts "Version bumped (#{bump}) to #{updater.instance_variable_get(:@new_version)}"
|
|
385
|
+
else
|
|
386
|
+
puts "Version already bumped (#{tag_version} → #{current_version}), skipping"
|
|
387
|
+
end
|
|
388
|
+
else
|
|
389
|
+
puts "Version already bumped (#{tag_version} → #{current_version}), skipping"
|
|
388
390
|
end
|
|
391
|
+
elsif bump
|
|
392
|
+
updater = Reissue::VersionUpdater.new(version_file, version_redo_proc: version_redo_proc)
|
|
393
|
+
updater.call(bump)
|
|
394
|
+
puts "Version bumped (#{bump}) to #{updater.instance_variable_get(:@new_version)}"
|
|
389
395
|
end
|
|
390
396
|
end
|
|
391
397
|
end
|
data/lib/reissue/version.rb
CHANGED