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
Copy file name to clipboardExpand all lines: .gemini/commands/release.toml
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -12,17 +12,18 @@ Follow these steps precisely:
12
12
4. **Propose Version:**
13
13
- Propose a new version number with a brief rationale.
14
14
- Use `ask_user` to confirm the version.
15
-
= Update the version in `package.json`, `pyproject.toml` or any other dependency configuration file, if it exists.
15
+
- Update the version in `package.json`, `pyproject.toml` or any other dependency configuration file, if it exists.
16
16
- Update the version in any relevant source files if necessary (e.g., `__version__.py`).
17
17
- Update the version in any relevant documentation files if necessary (e.g., `README.md`).
18
-
5. **Update CHANGELOG.md:**
18
+
5. **Update CHANGELOG.md and README.md:**
19
19
- **IMMEDIATELY** after the version is decided, update `CHANGELOG.md`.
20
20
- Create a new entry for the version, summarizing all changes since the last release.
21
21
- Follow the established format in `CHANGELOG.md`.
22
+
- Update the README.md if it contains a version badge or any version references, plus update any relevant documentation in this file if necessary.
22
23
6. **Finalize Release:**
23
24
- Use `ask_user` to confirm the final release.
24
25
- If confirmed:
25
-
- Create a commit for the release: `git add CHANGELOG.md && git commit -m "chore(release): version <new_version>"`.
26
+
- Create a commit for the release: `git add CHANGELOG.md README.md && git commit -m "chore(release): version <new_version>"` (include any other files updated during the version bump).
26
27
- Create a git tag: `git tag -a "v<new_version>" -m "Release v<new_version>"`.
27
28
- Push the tag to the remote if it exists.
28
29
- Propose using `gh release create` for GitHub releases, including the changelog entry as the release notes.
0 commit comments