Repository navigation
ci: TECH-2181 attach the OpenAI plugin ZIP to the GitHub release (public download link) - #8
Merged
Merged
Conversation
…* tags Actions artifacts need a GitHub login and expire after 90 days, so the ZIP had no link we could hand to a reviewer. release.yml builds the ZIP on every v* tag push and uploads it to that tag's release (created with --verify-tag when missing), under its versioned name and as tracklution-openai-plugin.zip so releases/latest/download/... always points at the newest build. It can also be dispatched by hand for an existing tag, building from the selected branch, which is how the v3.3.0 release gets the ZIP built from main. README: document the release flow and what to bump for each directory. Co-authored-by: Sami Soiluva <voisula@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
Actions artifacts need a GitHub login (verified: anonymous download returns 404) and expire after 90 days, so the OpenAI plugin ZIP had no link we could hand to a reviewer.
New
.github/workflows/release.yml:v*tag push: builds the ZIP from the tagged commit and uploads it to that tag's GitHub release. The release is created if missing, with--verify-tagso a typo fails instead of minting a new tag.tracklution-openai-plugin-<plugin version>.zipand a stabletracklution-openai-plugin.zip, soreleases/latest/download/tracklution-openai-plugin.zipalways points at the newest build.v3.3.0release gets a ZIP built from currentmain(thev3.3.0commit predates the icons and the skill fix).permissions: contents: write,GITHUB_TOKENonly; no third-party actions beyond checkout/setup-node.README: the layout block now lists
plugins/,server.jsonand all four workflows, and the Publishing section documents the release flow plus what to bump for each directory (OpenAI package version, Claude validate, Registryserver.jsonversion).Verification
actionlint1.7.12 (incl. shellcheck): no findings.ghfor both a missing release (view fails → create → upload) and an existing one (view ok → upload only); both exit 0 and write the expected summary.npm test98 pass / 2 skipped,npm run lintclean. The workflow itself can only run on a tag push or dispatch, so the first real run is the manual dispatch forv3.3.0after merge.After merge
Actions >
release> Run workflow > branchmain, tagv3.3.0. That creates release 3.3.0 with the ZIP; the public link ishttps://github.com/tracklution/tracklution-cli/releases/download/v3.3.0/tracklution-openai-plugin-1.0.0.zip.Links