You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>
Copy file name to clipboardExpand all lines: CLAUDE.md
+10-3Lines changed: 10 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,14 @@ This project follows a **6-month rolling MSRV policy** (aligned with [tokio](htt
53
53
2. Confirm all dependencies compile on the target version (`cargo check` with the target toolchain, or review dependency MSRV metadata)
54
54
3. Update CI matrix to include the new MSRV version
55
55
56
-
## Releases
56
+
## Release Procedure
57
57
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