Skip to content

Auto-bump release - #2

Merged
josefkarasek merged 2 commits into
mainfrom
skill
Aug 14, 2026
Merged

josefkarasek merged 2 commits into
mainfrom
skill

Conversation

@josefkarasek

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Josef Karasek <karasek.jose@gmail.com>
Copilot AI lite review requested due to automatic review settings August 14, 2026 07:38
@josefkarasek
josefkarasek requested a review from a team as a code owner August 14, 2026 07:38

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a more automated, repeatable release process by adding scripts to stamp the plugin manifest version, validate/build artifacts, and optionally push a release tag—plus wiring that version-stamping into the GitHub Actions release workflow.

Changes:

  • Add scripts/set_plugin_version.py to stamp .codex-plugin/plugin.json to a provided semver version.
  • Add scripts/cut_release.py to run the local release sequence (stamp → validate → build/verify → commit → tag → optional push).
  • Update RELEASING.md, README.md, and .github/workflows/release-skills.yml to reflect and support the new release flow (including CI stamping from the tag).

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
scripts/set_plugin_version.py New helper script to stamp plugin.json version for releases/CI.
scripts/cut_release.py New end-to-end local release script (commit/tag/push workflow).
RELEASING.md Documents the preferred release command and updated validation/build steps.
README.md Surfaces the preferred release command and references release docs.
.github/workflows/release-skills.yml Stamps plugin version from tag in CI and passes expected version where needed.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread README.md Outdated
Comment thread scripts/cut_release.py
Signed-off-by: Josef Karasek <karasek.jose@gmail.com>
Copilot AI review requested due to automatic review settings August 14, 2026 07:54
@josefkarasek
josefkarasek merged commit 6e45dcf into main Aug 14, 2026
2 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Suppressed comments (2)

scripts/cut_release.py:68

  • This output claims a release commit was created even when the version was unchanged and no commit was made (the script explicitly handles the no-diff case). The message should be accurate in both paths.
    print(f"Created release commit and tag {tag_name}")

README.md:75

  • This step is labeled "Refresh the plugin cachebuster", but the command shown sets a fixed version (0.1.0). After the first run, rerunning it won’t change anything, so it won’t actually act as a cachebuster. Either adjust the text to say it's setting an example version, or make the command clearly indicate a new version should be chosen each time.
1. Refresh the plugin cachebuster:

```bash
python3 scripts/set_plugin_version.py --version 0.1.0
</details>

Comment thread scripts/cut_release.py
Comment on lines +61 to +65
diff = subprocess.run(["git", "diff", "--cached", "--quiet"], check=False)
if diff.returncode == 0:
print("No plugin.json changes to commit; tagging current HEAD")
else:
git("commit", "-m", f"release: {tag_name}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants