Skip to content
Snippets Groups Projects
Commit ac323b73 authored by Richard van der Hoff's avatar Richard van der Hoff
Browse files

Update release process instructions

parent e71dc46a
No related branches found
No related tags found
No related merge requests found
...@@ -44,15 +44,26 @@ To build the Xcode workspace for Objective-C bindings, run: ...@@ -44,15 +44,26 @@ To build the Xcode workspace for Objective-C bindings, run:
Release process Release process
--------------- ---------------
.. code:: bash First: bump version numbers in ``Makefile``, ``javascript/package.json``, and
``OLMKit.podspec``.
Also, ensure the changelog is up to date, and that everyting is committed to
git.
# Bump version numbers in ``Makefile`` and ``javascript/package.json`` It's probably sensible to do the above on a release branch (``release-vx.y.z``
# Prepare changelog by convention), and merge back to master once the release is complete.
git commit
.. code:: bash
make clean make clean
# build and test C library
make test make test
# build and test JS wrapper
make js make js
(cd javascript && npm run test)
npm pack javascript npm pack javascript
VERSION=x.y.z VERSION=x.y.z
scp olm-$VERSION.tgz packages@ldc-prd-matrix-001:/sites/matrix/packages/npm/olm/ scp olm-$VERSION.tgz packages@ldc-prd-matrix-001:/sites/matrix/packages/npm/olm/
git tag $VERSION -s git tag $VERSION -s
...@@ -66,9 +77,6 @@ Release process ...@@ -66,9 +77,6 @@ Release process
# Check the pod has been successully published with: # Check the pod has been successully published with:
pod search OLMKit pod search OLMKit
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.
Design Design
------ ------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment