chore: prepare for v0.2.1 release #326
No reviewers
Labels
No labels
area/ci-release
area/cli
area/docs
area/dungeon
area/ftl
area/graphics
area/gui
area/music
area/saves
area/tooling
port/amiga
port/dos
port/fm-towns
port/mac
port/pc98
port/sega-cd
priority/high
priority/low
priority/medium
type/bug
type/chore
type/docs
type/feature
type/research
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jqueuniet/dm2-tools!326
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/release-0.2.1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Version bump and changelog cut for v0.2.1.
What changed
cargo set-version --workspace 0.2.1—[workspace.package], the nineinter-crate version requirements, and
Cargo.lock.bindings/python/pyproject.tomlbumped by hand: it sits outside the cargoworkspace, so
set-versiondoes not reach it. This is the skew that shippedin 0.2.0 and is now guarded —
test_version_matches_workspacecompares theloaded cdylib's version against both
[workspace.package]andpyproject.toml.out of
Cargo.toml.CHANGELOG.md:[Unreleased]becomes[0.2.1] - 2026-09-05, a fresh empty[Unreleased]opens above it, and the link references gain a[0.2.1]tagentry with the compare link rebased onto
v0.2.1.The changelog's section order was Fixed, Added, Changed — an artifact of the
order entries were appended. Regrouped to the Added, Changed, Fixed that every
earlier release in the file uses. All 11 entries are intact and unaltered.
Verification
cargo check --workspace --lockedpasses, so the lockfile is in sync. ThePython suite passes against a rebuilt cdylib (7 passed), which is the real
check on the bump: it fails loudly if
pyproject.tomland the workspacedisagree. No stale
0.2.0remains in any manifest.After merging
Tagging
v0.2.1fires the release workflow, which will exercisepublishforthe first time — the one job never executed, though its release-API code is
unchanged from what shipped v0.2.0. Then, manually:
cargo publish --workspace(dry-run clean as of this branch's base),
npm publish crates/dm2-wasm/pkg,and the first PyPI upload if you want it.
Worth a read before tagging:
publishlifts the 0.2.1 section verbatim intothe release body, and those entries were written incrementally as work landed
rather than as release notes for a reader.