Make release instructions more C+Pable
This commit is contained in:
parent
6dfa64342a
commit
7647555fc7
1 changed files with 13 additions and 9 deletions
18
README.rst
18
README.rst
|
@ -32,15 +32,19 @@ To build the javascript bindings, install emscripten from http://kripken.github.
|
|||
Release process
|
||||
---------------
|
||||
|
||||
.. code:: bash
|
||||
|
||||
# Bump version numbers in ``Makefile`` and ``javascript/package.json``
|
||||
# Prepare changelog
|
||||
# ``git commit``
|
||||
# ``make test``
|
||||
# ``make js``
|
||||
# ``npm pack javascript``
|
||||
# ``scp olm-x.y.z.tgz packages@ldc-prd-matrix-001:/sites/matrix/packages/npm/olm/``
|
||||
# ``git tag x.y.z``
|
||||
# ``git push --tags``
|
||||
git commit
|
||||
make clean
|
||||
make test
|
||||
make js
|
||||
npm pack javascript
|
||||
VERSION=x.y.z
|
||||
scp olm-$VERSION.tgz packages@ldc-prd-matrix-001:/sites/matrix/packages/npm/olm/``
|
||||
git tag $VERSION
|
||||
git push --tags
|
||||
|
||||
It's probably sensible to do the above on a release branch (``release-vx.y.z``
|
||||
by convention), and merge back to master once complete.
|
||||
|
|
Loading…
Reference in a new issue