Skip to content

Publish GitHub releases automatically on version bumps - #7

Merged
Sentry01 merged 1 commit into
mainfrom
sentry01-agentcouncil-v2
Oct 17, 2026
Merged

Sentry01 merged 1 commit into
mainfrom
sentry01-agentcouncil-v2

Conversation

@Sentry01

Copy link
Copy Markdown
Owner

Summary

Adds release automation. Merging a version bump in plugin.json to main now tags vX.Y.Z and publishes a GitHub release, with notes taken from CHANGELOG.md.

Releases v1.0.0 (9189906) and v2.0.0 (abad48d, Latest) were already published by hand with the same notes script.

Changes

  • .github/workflows/release.yml
    • Triggers on pushes to main that touch plugin.json. It can also be run manually.
    • Runs scripts/validate.mjs, reads the version and skips it if a release already exists.
    • Otherwise it runs gh release create vX.Y.Z --target <merge sha>. Versions with a suffix such as -rc.1 are published as prereleases.
    • Permissions are limited to contents: write.
  • scripts/release-notes.mjs
    • Builds the notes: install and update commands, then the matching changelog section.
    • Fails if the section is missing or empty.
  • CONTRIBUTING.md: the release steps now use the workflow instead of manual tagging.
  • README.md: the update instructions now link to the releases page.
  • CHANGELOG.md: adds an Unreleased entry for this change.

Verification

  • node scripts/validate.mjs passes, and the workflow YAML parses.
  • I ran the publish step locally with a stub gh:
    • 2.0.0 was skipped because the release already exists.
    • 2.1.0-rc.1 produced gh release create v2.1.0-rc.1 --target <sha> --title v2.1.0-rc.1 --notes-file notes.md --prerelease.
  • Asking scripts/release-notes.mjs for a version with no changelog entry exits 1.
  • Post-merge check for AgentCouncil 2.0: router skill, current models, plugin marketplace, evals #6 in a clean COPILOT_HOME:
    • copilot plugin marketplace add Sentry01/AgentCouncil, then install agentcouncil@agentcouncil and update all work at v2.0.0.
    • --agent agentcouncil:agentcouncil responds.

This PR does not bump the version, so merging it will not trigger a release.

Adds a Release workflow that tags vX.Y.Z on main and publishes a release
with notes from CHANGELOG.md (scripts/release-notes.mjs). Suffixed
versions are prereleases; existing releases are skipped. v1.0.0 and
v2.0.0 were published manually with the same script.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@Sentry01
Sentry01 merged commit ae95435 into main Oct 17, 2026
1 check passed
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