Repository navigation
Publish GitHub releases automatically on version bumps - #7
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds release automation. Merging a version bump in
plugin.jsontomainnow tagsvX.Y.Zand publishes a GitHub release, with notes taken fromCHANGELOG.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.ymlmainthat touchplugin.json. It can also be run manually.scripts/validate.mjs, reads the version and skips it if a release already exists.gh release create vX.Y.Z --target <merge sha>. Versions with a suffix such as-rc.1are published as prereleases.contents: write.scripts/release-notes.mjsCONTRIBUTING.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.mjspasses, and the workflow YAML parses.gh:2.0.0was skipped because the release already exists.2.1.0-rc.1producedgh release create v2.1.0-rc.1 --target <sha> --title v2.1.0-rc.1 --notes-file notes.md --prerelease.scripts/release-notes.mjsfor a version with no changelog entry exits 1.COPILOT_HOME:copilot plugin marketplace add Sentry01/AgentCouncil, theninstall agentcouncil@agentcouncilandupdateall work at v2.0.0.--agent agentcouncil:agentcouncilresponds.This PR does not bump the version, so merging it will not trigger a release.