Skip to content

Commit 8bb4142

Browse files
committed
feat(release): include version updates in dependency and source files
1 parent 9a964b2 commit 8bb4142

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.gemini/commands/release.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ Follow these steps precisely:
1212
4. **Propose Version:**
1313
- Propose a new version number with a brief rationale.
1414
- 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.
16+
- Update the version in any relevant source files if necessary (e.g., `__version__.py`).
17+
- Update the version in any relevant documentation files if necessary (e.g., `README.md`).
1518
5. **Update CHANGELOG.md:**
1619
- **IMMEDIATELY** after the version is decided, update `CHANGELOG.md`.
1720
- Create a new entry for the version, summarizing all changes since the last release.
@@ -21,7 +24,8 @@ Follow these steps precisely:
2124
- If confirmed:
2225
- Create a commit for the release: `git add CHANGELOG.md && git commit -m "chore(release): version <new_version>"`.
2326
- Create a git tag: `git tag -a "v<new_version>" -m "Release v<new_version>"`.
24-
- Propose pushing the tag to the remote if it exists.
27+
- Push the tag to the remote if it exists.
28+
- Propose using `gh release create` for GitHub releases, including the changelog entry as the release notes.
2529
2630
Report the successful completion of the release and the new version.
2731
"""

0 commit comments

Comments
 (0)