Release and hosting information for CanJS maintainers.
For maintainers of CanJS and its submodules this guide describes
- How to make a releases of CanJS subprojects and the main package
Releasing CanJS subprojects
All CanJS subprojects modules have the same structure which allows making releases through npm scripts.
To make a release:
Move to the
Fetch all latest changes from the repository
Reinstall all Node modules in their latest version
git checkout 3.x-legacy git fetch --all && git rebase npm cache clean rm -rf node_modules npm install
npm run release:<versiontype>. For example, to make a
npm run release:patch
This will run the tests, build, bump the version number accordingly and publish the module to npm.
Releasing the CanJS main project
The CanJS main package also has a 3.x-legacy branch set up to publish to the
3.x-legacy tag in NPM using the same release script setup.