Skip to content
This repository was archived by the owner on Dec 29, 2020. It is now read-only.

Commit 8c7064b

Browse files
author
Gustavo Henke
committed
Document how to publish a new version
1 parent de383ba commit 8c7064b

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

MAINTAN.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Maintainer Guide
2+
3+
## Publishing a new version
4+
5+
1. Determine which part of the version you are about to increase.
6+
We follow the [Versioning & Semver](http://jscs.info/overview.html#versioning-semver) section from the JSCS project.
7+
2. Run a bump script via npm. This will commit and tag the changed files:
8+
- `npm run bump` - will increase the patch version;
9+
- `npm run bump-minor` - will increase the minor version.
10+
3. Push changes and tags: `git push --follow-tags`
11+
4. Wait until the Travis-CI build finishes. It will publish a new version into npm.
12+
__DO NOT USE__ `npm publish`! If something goes wrong, Travis will tell us.
13+
5. Done!

0 commit comments

Comments
 (0)