Skip to content

Commit 6d503b7

Browse files
fix: update Cargo.lock for v2.0.0
The release commit bumped Cargo.toml but did not include the corresponding Cargo.lock update, causing cargo publish to fail with a dirty working directory. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 75adb05 commit 6d503b7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.claude/skills/release/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ Once confirmed:
3535

3636
1. Fetch origin and create a branch: `release/vX.Y.Z` from `origin/main`.
3737
2. Bump version in `Cargo.toml` (the `version = "..."` field under `[package]`).
38-
3. Run `cargo check` to ensure the project builds successfully after the version bump.
38+
3. Run `cargo check` to ensure the project builds successfully after the version bump. This also updates `Cargo.lock` — always include `Cargo.lock` in the release commit.
3939
4. Update `CHANGELOG.md`:
4040
- Move everything under `## [Unreleased]` into a new `## [X.Y.Z] - YYYY-MM-DD` section (use today's date), placed immediately below `## [Unreleased]` (i.e., at the top of the released versions list).
4141
- Leave `## [Unreleased]` empty (with just the heading).
4242
- Each released version must have its own section with its changes — never merge entries across versions.
4343
5. Search all documentation files (`docs/`, `README.md`, `examples/`) for references to the previous version (e.g. image tags like `initium:1.3.1`, version strings) and update them to the new version. Exclude `CHANGELOG.md` (historical entries should keep their original versions).
4444
6. Run `cargo test` to verify nothing is broken.
4545
7. Run `cargo clippy -- -D warnings` and `cargo fmt -- --check`.
46-
8. Commit: `release: vX.Y.Z`
46+
8. Commit all changed files (`Cargo.toml`, `Cargo.lock`, `CHANGELOG.md`, docs): `release: vX.Y.Z`
4747
9. Push the branch and create a PR with title `release: vX.Y.Z`.
4848
10. The PR body should include the changelog entries for this version.
4949

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)