Browse Source

docs: add document for maintainance

pull/2296/head
Yoshiya Hinosawa 7 years ago
parent
commit
befe5a6f4c
  1. 33
      MAINTAINANCE.md

33
MAINTAINANCE.md

@ -0,0 +1,33 @@
# Release process
If you don't have `bmp` command installed, first install `bmp` ruby gem:
gem install bmp
When master is ready for the next release, hit the command:
bmp -p
This automatically updates all the version numbers with a new one in the repository.
Then hit the command:
npm run dist
This builds the scripts and stylesheets. Then hit:
bmp -c
This commits all the changes (including the built assets) and git-tags a new version (like v0.4.16):
Then publish it to the npm registry (you need admin access to c3 module):
npm publish
At this point, the new version is available through npm.
Then push master and the tag to github:
git push origin master vX.Y.Z
That's all.
Loading…
Cancel
Save