diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bccb27e..05423f9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -55,7 +55,7 @@ Release AdminKit PRO first, so its counts are final, then this repository. A fix 1. Branch `chore/release-` from `main`. 2. Run `npm version --no-git-tag-version`, then `npm run stats:sync -- --pro ../adminkit-pro` (it runs `npm run stats` too). 3. In `CHANGELOG.md`, add `## [] - ` right under `## [Unreleased]`, so the unreleased lines move into it. -4. Commit as `chore(release): `, open a PR titled `release: AdminKit ` and squash-merge it. +4. Commit as `chore(release): `, open a PR titled `chore(release): ` and squash-merge it (commitlint checks the squashed subject on `main`). 5. Tag the merge commit and push the tag: `git tag -a v -m "AdminKit " && git push origin v`. The Release workflow builds `dist/` and attaches `adminkit-v.zip` to a GitHub release; name it `AdminKit ` and paste the version's changelog lines as its notes. 6. Publish to npm from the tagged commit: `npm publish` (`prepublishOnly` builds first). 7. In the website repository, refresh the docs previews: `npm run preview:sync -- --free ../adminkit --pro ../adminkit-pro`.