Skip to content

ci(release): attach a prebuilt package tarball and the skill archive to releases - #32

Merged
jstet merged 1 commit into
mainfrom
ci/release-tarball
Sep 24, 2026
Merged

jstet merged 1 commit into
mainfrom
ci/release-tarball

Conversation

@jstet

@jstet jstet commented Sep 24, 2026

Copy link
Copy Markdown
Member

Closes #4.

.github/workflows/release-assets.yml runs on release published, or manually with a tag input to backfill. It attaches:

Asset What For
correlaid-formtransform-<version>.tgz npm pack output, dist/ prebuilt any consumer: no build, no TypeScript, works with install scripts disabled
cdl-survey-types-<version>.tar.gz skills/cdl-survey-types/, unpacks to cdl-survey-types/ formulaid (its #9/#12): a stable URL instead of git archive against this repo's layout

Points the issue asked to settle:

  • Version source: package.json. Bump it in a PR, then publish release v<version>. The job fails if the tag and package.json disagree.
  • One artifact or two: two, in the same job.
  • No committed dist/.

Before uploading, the job installs the tarball into an empty project with --ignore-scripts, imports it, and runs formtransform --help. I ran the same steps locally against the current main: 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.0 to attach assets to the existing release.

🤖 Generated with Claude Code

…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>
@jstet
jstet merged commit 7e8f436 into main Sep 24, 2026
4 checks passed
@jstet
jstet deleted the ci/release-tarball branch September 24, 2026 12:55
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.

Attach a prebuilt package tarball to release tags

1 participant