Contributions: Release
Max Okorokov edited this page Dec 7, 2022
·
31 revisions
- make sure all deprecations to be removed in
x.0.0
are removed - check that schematics work
- checkout and build the latest
N-1.X.X
demo site version, removeversions.json
from it and add<meta name="robots" content="noindex">
to theindex.html
- check in the built
N-1.X.X
demo versions indemo/src/public/releases/N-1.x
folder and updateversions.json
- go through
feat
commits and update new feature comments with@since x.x.0
and deprecated ones with@deprecated x.x.0 Explanation why here
- for each new API field check if
static ngAcceptInputType_XXX: XXX;
needs to be added - commit documentation changes
- make sure you're on the
master
branch and you're ready to release - generate the new release (
yarn version
). This will generate a tagged release commit with changelog updates, build the library and the demo site. - check the
CHANGELOG.md
in the last commit. If necessary update the file and runyarn changelog:patch
to amend changelog and update the git release tag. - push to npm (
cd dist/ng-bootstrap
,npm publish
,cd ../..
). There is no way of NOT rewriting thelatest
tag in npm, so when publishing OLDER releases, you have to manually restore thelatest
tag withnpm dist-tags add @ng-bootstrap/ng-bootstrap@Z.Z.Z latest
- push
master
to GitHub (git push upstream
) - push tags to GitHub (
git push upstream --tags
) - push the demo site (
yarn demo:publish
) - close the release milestone
- create a GitHub release based on the latest tag and copy/paste changelog (to be automated...)
- let the World know!