Skip to content
This repository was archived by the owner on Jan 30, 2026. It is now read-only.

Commit c95a2dd

Browse files
committed
chore: release cmd
1 parent 130b3c2 commit c95a2dd

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.claude/commands/release.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Release
2+
3+
Guide the user through the release process for `s2-cli`.
4+
5+
## Pre-requisites
6+
7+
`cargo install git-cliff`
8+
9+
## Flow
10+
11+
1. Prompt the user for the new version
12+
13+
2. Update version `Cargo.toml` and `cargo generate-lockfile`
14+
15+
3. Generate changelog with `git cliff --unreleased --tag ${NEW_VERSION} --prepend CHANGELOG.md`
16+
17+
4. Get approval on diffs
18+
19+
5. Commit and push
20+
21+
6. Tag the release*:
22+
- `git tag -a ${NEW_VERSION} -m "Release ${NEW_VERSION}"`
23+
- `git push origin tag ${NEW_VERSION}`

0 commit comments

Comments
 (0)