aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.rst22
1 files changed, 13 insertions, 9 deletions
diff --git a/README.rst b/README.rst
index 1a3663a..3d4db70 100644
--- a/README.rst
+++ b/README.rst
@@ -32,15 +32,19 @@ To build the javascript bindings, install emscripten from http://kripken.github.
Release process
---------------
-# 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``
+.. code:: bash
+
+ # Bump version numbers in ``Makefile`` and ``javascript/package.json``
+ # Prepare changelog
+ 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.