update release instructions
This commit is contained in:
parent
7f53dedca6
commit
d7c3971f9a
1 changed files with 11 additions and 3 deletions
14
README.md
14
README.md
|
@ -136,11 +136,13 @@ make test
|
||||||
|
|
||||||
# build and test JS wrapper
|
# build and test JS wrapper
|
||||||
make js
|
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
|
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 tag $VERSION -s
|
||||||
git push --tags
|
git push --tags
|
||||||
|
|
||||||
|
@ -153,6 +155,12 @@ pod trunk push OLMKit.podspec --use-libraries --allow-warnings
|
||||||
pod search OLMKit
|
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
|
## Design
|
||||||
|
|
||||||
Olm is designed to be easy port to different platforms and to be easy
|
Olm is designed to be easy port to different platforms and to be easy
|
||||||
|
|
Loading…
Reference in a new issue