一键导入
release
Prepare and publish a new release to crates.io. Use when the user wants to release, publish, bump version, or cut a new version.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Prepare and publish a new release to crates.io. Use when the user wants to release, publish, bump version, or cut a new version.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | release |
| description | Prepare and publish a new release to crates.io. Use when the user wants to release, publish, bump version, or cut a new version. |
| disable-model-invocation | true |
| argument-hint | ["version"] |
Prepare and publish a new release for htmxology.
git fetch origin
git log --oneline origin/main ^main -5
If there are upstream commits not yet in local main, STOP and ask the user how to proceed (rebase, merge, or continue).
If a version was provided as $ARGUMENTS, use that. Otherwise:
Cargo.toml (workspace.package.version)Always confirm the version with the user before proceeding.
Update both version fields in the root Cargo.toml:
[workspace.package]
version = "<new-version>"
[workspace.dependencies]
htmxology-macros = { path = "./htmxology-macros", version = "<new-version>" }
Move all entries from ## [Unreleased] to a new version section with today's date:
## [Unreleased]
(empty - ready for next release)
## [<new-version>] - <today's date YYYY-MM-DD>
### Added
- (items moved from Unreleased)
### Changed
- (items moved from Unreleased)
### Fixed
- (items moved from Unreleased)
Remove empty subsections. Use today's date in ISO format.
just check
This runs build, license checks, format checks, and all tests. If anything fails, stop and fix before continuing.
git add Cargo.toml CHANGELOG.md Cargo.lock
git commit -m "Release v<new-version>"
git tag -a v<new-version> -m "Release v<new-version>"
Ask the user for confirmation before publishing. Then:
just publish
This publishes htmxology-macros first, then htmxology.
Ask the user for confirmation before pushing. Then:
git push origin main
git push origin v<new-version>