- sync with Bootstrap's release and probably wait for it;
-
npm run release-version $current_version $next_versionto bump version number- then, if bumping a minor or major version:
- Manually change
version_shortinpackage.json - Add docs version to
site/data/docs-versions.yml - Manually change
docs_versioninhugo.ymland other references to the previous version - Update redirects in docs frontmatter (
site/content/docs/_index.html?) - Move
site/content/docs/5.xtosite/content/docs/5.x+1 - Increment
site/static/docs/{version}version - (Major version) Manually update the version in
nuget/boosted.nuspecandnuget/boosted.sass.nuspec
- Manually change
- check wrong matches in
CHANGELOG.md, and maybesite/content/docs/<version>/migration.md ⚠️ check thepackage-lock.jsonandpackage.jsoncontent, only "boosted" should have its version changed!⚠️ site/content/docs/5.1/**/*.mdshould not always be modified
- then, if bumping a minor or major version:
- if the year changed recently, happy new year 🎉 but please change © year in
.scssmain files (reboot, grid, utilities, and main file) as well as inNOTICE.txt. -
npm run releaseto compile dist, build Storybook, update SRI hashes in doc, and package the release - Prepare changelog:
- install Conventional Changelog and
conventional-changelog-cliglobally - run
conventional-changelog -p angular -i CHANGELOG.md -s - and probably maintain a ship list (e.g. for v4.4.0)
- install Conventional Changelog and
- Commit and push
distwith achore(release)commit message - Manually run BrowserStack test
- Manually run Percy test
- Merge (on
v4-devormain) - Tag your version, and push your tag
- Pack and publish
npm pack- if you are already logged in to NPM (with a personal account, for example), you'd better use a repository scoped
.npmrcfile - Publish:
- if you're releasing a pre-release, use
--tag, e.g. for v5-alpha1npm publish boosted-5.0.0-alpha1.tgz --tag next - (v4 only)
npm publish --tag v4.x.y(if you forgot and v4 becomes the latest version on NPM, you can run `npm dist-tag add boosted@5.x.y latest to fix it) - (v5 only)
npm publish
- if you're releasing a pre-release, use
- check release on NPM, Nuget, Packagist…
- publish documentation on
gh-pages:- copy
../_siteto thegh-pagesbranch (don't forget to update Storybook as well) - check every
index.htmlused as redirections to redirect to the new release - when bumping minor version: ensure
distURLs in examples' HTML has changed - double-check everything before pushing, starting by searching for forgotten old version number occurrences
- copy
- make an announcement in GitHub Discussions (+ pin the new GH Discussion)
- create a GitHub release:
- attach the zip file
- paste the CHANGELOG / Ship list in the release's description
- make an announcement on internal communication channels 🎉
- publish on Nuget