Skip to content

Commit 472dfe9

Browse files
developer0hyeclaude
andcommitted
docs: add full release procedure to CLAUDE.md
Include GitHub Release + crates.io publish steps so both are always performed together when a release is requested. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Yonghye Kwon <developer.0hye@gmail.com>
1 parent 9e0c0f8 commit 472dfe9

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

CLAUDE.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,14 @@ This project follows a **6-month rolling MSRV policy** (aligned with [tokio](htt
5353
2. Confirm all dependencies compile on the target version (`cargo check` with the target toolchain, or review dependency MSRV metadata)
5454
3. Update CI matrix to include the new MSRV version
5555

56-
## Releases
56+
## Release Procedure
5757

58-
- When creating a GitHub Release, include a **Contributors** section crediting all external contributors since the previous release.
59-
- Use `git log <prev-tag>..HEAD --format='%an' | sort -u` to find contributors. List each with their GitHub profile link and a brief summary of their contribution.
58+
When asked to "release", always perform **both** GitHub Release and crates.io publish:
59+
60+
1. **Version bump** — Create a PR (`chore/publish-<version>`) that bumps `version` in both `crates/office2pdf/Cargo.toml` and `crates/office2pdf-cli/Cargo.toml`, and updates the CLI's `office2pdf` dependency version. Merge via standard PR workflow.
61+
2. **GitHub Release**`gh release create v<version>` with changelog and contributors section.
62+
- Use `git log <prev-tag>..HEAD --format='%an' | sort -u` to find contributors. List each with their GitHub profile link.
63+
3. **crates.io publish** — Publish lib first, then CLI:
64+
- `cargo publish -p office2pdf`
65+
- `cargo publish -p office2pdf-cli`
66+
4. **Tag alignment** — Ensure the GitHub release tag (`v<version>`) and Cargo.toml versions match.

0 commit comments

Comments
 (0)