Skip to content

ci(release): publish fork packages to GitHub Packages on v*-fork.* tags - #17

Merged
pattobrien merged 2 commits into
chore-merge-forkfrom
feat-release-fork
Oct 7, 2026
Merged

pattobrien merged 2 commits into
chore-merge-forkfrom
feat-release-fork

Conversation

@pattobrien

Copy link
Copy Markdown
Owner

Add a fork release workflow that publishes every publishable package to GitHub Packages when a v*-fork.* tag is pushed.

on:
  push:
    tags: ["v*-fork.*"]
permissions:
  contents: read
  packages: write

scripts/release/fork-publish.ts <version> [--dry-run] reuses publishablePackages and sharedVersion from scripts/package-manifest.ts. It rejects any version that is not <shared>-fork.N, rewrites each manifest at pack time, packs, skips versions already on the registry, and publishes the rest.

- "name": "@distilled.cloud/inngest",
+ "name": "@pattobrien/distilled-inngest",
- "@distilled.cloud/core": "workspace:*",
+ "@distilled.cloud/core": "npm:@pattobrien/distilled-core@1.0.0-rc.13-fork.2",

Source package.json files are untouched. Dry run with 1.0.0-rc.13-fork.2 lists 88 packages with no workspace: or catalog: ranges left in any tarball. The live publish path runs for the first time on the first tag.

Stacked on #15. pnpm exec tsc -b clean on 803d740d2.

https://claude.ai/code/session_01M76rkZ4YR9gqkh5y4d55aq

@pattobrien
pattobrien changed the base branch from chore-merge-upstream to chore-merge-fork October 7, 2026 21:03
@pattobrien
pattobrien added this pull request to stack #18 October 7, 2026 21:03
@pattobrien
pattobrien merged commit 4a59ea3 into main Oct 7, 2026
0 of 5 checks 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