You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,8 @@ It's available as `@tko/build.knockout`, and over CDN:
55
55
| $ `make test`| Run all tests with electron. See below. |
56
56
| $ `make test-headless`| Run all tests with chromium. See below. |
57
57
| $ `npx changeset add`| Add a changeset for package behavior changes in your PR |
58
-
| Release workflow | On merge to `main`, CI opens or updates a version PR; when that version PR is merged and there are no remaining changesets, CI publishes from GitHub Actions via npm trusted publishing |
58
+
| Release workflow | On merge to `main`, CI opens or updates a version PR; when that version PR is merged and there are no remaining changesets, the same workflow publishes from GitHub Actions via npm trusted publishing and creates the matching GitHub release/tag |
59
+
| GitHub release workflow | Manual fallback to backfill the GitHub release/tag for a published `main` commit if automatic release creation needs a retry |
59
60
| $ `make test-coverage`| Run all tests and create a code coverage report |
60
61
61
62
Checkout the `Makefile` for more commands that can be executed with `make {command}`.
Copy file name to clipboardExpand all lines: plans/build-and-release-certainty.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,17 +62,20 @@ New workflow `.github/workflows/publish-check.yml` that runs on PRs:
62
62
Installed `@changesets/cli`. Configuration in `.changeset/config.json`.
63
63
Contributors add a changeset file with their PR: `npx changeset add`.
64
64
On merge to main, the release workflow opens a "Version Packages" PR
65
-
that bumps versions and updates changelogs. Merging that PR publishes
66
-
to npm.
65
+
that bumps versions and updates changelogs. TKO now uses a repo-wide
66
+
fixed version group for all public `@tko/*` packages, so public releases
67
+
move together on one version line. Merging that PR publishes to npm.
67
68
68
69
### 2.2 Add a release workflow ✅ DONE
69
70
70
71
`.github/workflows/release.yml` — triggered on push to main:
71
72
- Builds all packages and runs tests
72
73
- If unreleased changesets exist, opens/updates a version PR
73
74
- If version PR is merged, publishes to npm
75
+
- After a successful publish, creates the matching GitHub Release and tag in the same workflow
74
76
- Uses npm trusted publishing via GitHub Actions OIDC
75
77
- Requires trusted publisher configuration for the public `@tko/*` packages on npm
78
+
- Includes a manual `github-release.yml` workflow to backfill a missing release/tag for a published `main` commit if GitHub release creation ever needs a retry after publish
0 commit comments