update release instructions

This commit is contained in:
Hubert Chathi 2021-05-04 17:54:05 -04:00
parent 7f53dedca6
commit d7c3971f9a

View file

@ -136,11 +136,13 @@ make test
# build and test JS wrapper
make js
(cd javascript && npm run test && npm pack javascript)
(cd javascript && \
npm run test && \
sha256sum olm.js olm_legacy.js olm.wasm > checksums.txt && \
gpg -b -a -u F75FDC22C1DE8453 checksums.txt && \
npm publish)
VERSION=x.y.z
gpg -b -a -u F75FDC22C1DE8453 javascript/olm-$VERSION.tgz
scp javascript/olm-$VERSION.tgz packages@ares.matrix.org:packages/npm/olm/
git tag $VERSION -s
git push --tags
@ -153,6 +155,12 @@ pod trunk push OLMKit.podspec --use-libraries --allow-warnings
pod search OLMKit
```
Python and JavaScript packages are published to the registry at
<https://gitlab.matrix.org/matrix-org/olm/-/packages>. The GitLab
documentation contains instructions on how to set up twine (Python) and npm
(JavaScript) to upload to the registry.
## Design
Olm is designed to be easy port to different platforms and to be easy