ci(release): attach a prebuilt package tarball and the skill archive to releases - #32
Merged
Merged
Conversation
…to releases On release publish, release-assets.yml builds and attaches: - correlaid-formtransform-<version>.tgz (npm pack; dist/ prebuilt), which installs with no build step, no TypeScript and install scripts disabled - cdl-survey-types-<version>.tar.gz (skills/cdl-survey-types/), a stable URL for formulaid instead of a git archive of this repo's layout package.json is the version source; the job fails when the release tag isn't v<version>. Before uploading, it installs the tarball into an empty project with --ignore-scripts, imports it and runs the CLI. A manual dispatch with a tag backfills an existing release. README: install from the release tarball, and a short release checklist. Closes #4 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.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.
Closes #4.
.github/workflows/release-assets.ymlruns on release published, or manually with ataginput to backfill. It attaches:correlaid-formtransform-<version>.tgznpm packoutput,dist/prebuiltcdl-survey-types-<version>.tar.gzskills/cdl-survey-types/, unpacks tocdl-survey-types/git archiveagainst this repo's layoutPoints the issue asked to settle:
package.json. Bump it in a PR, then publish releasev<version>. The job fails if the tag andpackage.jsondisagree.dist/.Before uploading, the job installs the tarball into an empty project with
--ignore-scripts, imports it, and runsformtransform --help. I ran the same steps locally against the currentmain: 183 files, 33 exports, and the CLI runs.README: the install section now leads with the release tarball (git install kept as the alternative), plus a short Releasing checklist.
After merge, I'll run it once with
tag: v0.1.0to attach assets to the existing release.🤖 Generated with Claude Code