2015-08-21 11:04:46 +01:00
|
|
|
Releases can be found on [npm](https://www.npmjs.com/package/css-layout).
|
2015-08-21 08:57:22 +01:00
|
|
|
|
|
|
|
#Release Process
|
|
|
|
|
|
|
|
```bash
|
|
|
|
# Ensure that the local codebase is up to date
|
|
|
|
git fetch upstream master && git checkout FETCH_HEAD
|
|
|
|
|
2015-08-21 11:04:46 +01:00
|
|
|
# increment the version number and tag the release
|
2015-08-21 08:57:22 +01:00
|
|
|
npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease]
|
|
|
|
|
2015-08-21 11:04:46 +01:00
|
|
|
# push the the commit and tag back to upstream
|
|
|
|
git push --tags upstream HEAD:master
|
|
|
|
|
|
|
|
# publish this new version to npm
|
|
|
|
npm publish
|
|
|
|
```
|