mirror of
https://github.com/storytold/craft-launcher.git
synced 2026-11-02 18:07:04 +00:00
xtask local: order pre-releases by semver (rc.10 after rc.9) (#820)
compare_versions compared pre-release tags as plain strings, so 1.0.0-rc.10 sorted before 1.0.0-rc.9. `cargo xtask local` uses it to pick the newest mirrored build for `status` and to choose what `prune` keeps, so a tenth release candidate would have been treated as older than the ninth and pruned first. Parse with the workspace's semver crate and compare by precedence, which orders numeric pre-release parts as numbers. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Generated
+1
@@ -5909,6 +5909,7 @@ name = "xtask"
|
||||
version = "0.7.0"
|
||||
dependencies = [
|
||||
"jiff",
|
||||
"semver",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
||||
Reference in New Issue
Block a user