mirror of
https://github.com/tbluemel/rtf.js.git
synced 2026-11-30 16:47:59 +01:00
Document release process
This commit is contained in:
@@ -75,3 +75,6 @@ $ npm run coverage-html
|
||||
|
||||
**Warning:** creating coverage reports instruments the bundles in the `dist` directory.
|
||||
Don't forget to build the project again before committing.
|
||||
|
||||
# Releasing
|
||||
See the [Release Instructions](RELEASING.md) for details.
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
This guide explains the steps needed for a release.
|
||||
|
||||
1. Run build and test to verify the current state:
|
||||
```
|
||||
npm run build
|
||||
npm run test
|
||||
```
|
||||
- Verify that there are no changes in the `dist` directory (i.e. that the latest version is committed)
|
||||
- Verify all tests are passing
|
||||
|
||||
2. Update the changelog and commit
|
||||
|
||||
3. Update the package version (updates version in package.json, makes a commit and creates a tag):
|
||||
```
|
||||
npm version <version number>
|
||||
```
|
||||
|
||||
4. Push new version, including tags, to master:
|
||||
```
|
||||
git push
|
||||
git push --tags
|
||||
```
|
||||
|
||||
5. Publish new version to npm:
|
||||
```
|
||||
npm publish
|
||||
```
|
||||
Reference in New Issue
Block a user