| name | release-push |
| description | Push the current release to GitHub by creating a tag and release branch. Use after release-version to publish the release. |
| license | MIT |
| metadata | {"author":"amaurycarvalho","version":"1.0"} |
Push the current release to the remote repository: create a git tag, push tags, create a release branch, push it, and switch back to master.
The version is read automatically from app_version in src/cli/appinfo.h.
Steps
-
Verify if release's changes are all archived
Confirm if all of the changes in this release is archived (see CHANGELOG.md for the list). Stop and report the error without proceeding if any of them is not archived yet.
Output On Success
Checking if all release's changes are archived: OK.
Output On Error
Checking if all release's changes are archived: Fail.
ERROR: Change <change-name> not archived yet.
-
Run the release script
Execute the bash script located at .opencode/skills/release-push/release-push.sh. This script:
- Reads the version from
src/cli/appinfo.h
- Creates the git tag
v<version>
- Pushes tags to origin
- Creates and pushes a
release/v<version> branch
- Switches back to
master
Use the bash tool to run the script.
-
Verify
Confirm the script completed successfully (exit code 0). If it failed, report the error and STOP.
Output On Success
=== Release v<version> pushed to GitHub successfully ===
Output On Error
ERROR: Could not extract version from .../src/cli/appinfo.h.
Guardrails
- Run the script — do NOT execute the git commands manually.
- Do NOT modify any files.
- If the script fails, stop and report the error without proceeding.