Skip to content

A tag and a GitHub Release are created when a plugin's version changes - #23

Merged
teocns merged 1 commit into
mainfrom
release-automation
Nov 12, 2026
Merged

teocns merged 1 commit into
mainfrom
release-automation

Conversation

@teocns

@teocns teocns commented Nov 12, 2026

Copy link
Copy Markdown
Member

What changes for a member

  • Nothing in the tool. This adds a workflow, .github/workflows/release.yml, and the script it runs, .github/scripts/cut_release.py.
  • What it does: on a push to main, it compares each plugin's version in plugin.json before and after the push. For a plugin whose version changed, it creates the tag <name>--v<version> and a GitHub Release whose body is that version's section of the plugin's CHANGELOG.md plus the merged pull requests since the previous tag.
  • When it does nothing: unless a version changed, it creates nothing. A tag that already exists is skipped, so a re-run is safe.
  • When it fails: a version with no changelog entry fails the run before anything is created.
  • Permissions: contents: write and the run's own GITHUB_TOKEN only. It runs on pushes to main, never on pull requests, so nothing a pull request carries runs with that token.

Known limits

  • Its first real run will be the next release. Until then it has only been run as a dry run (--dry-run prints the plan and creates nothing).

No version change: nothing reaches members until a release.

Kit-Commit: 934ef1c0ae9d499be6ba154a11ed4ac80af4b057
Kit-Only: .github
@teocns
teocns merged commit 8c1de67 into main Nov 12, 2026
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.

1 participant