From d7c3971f9ac40581535a5fe32a04f26086483917 Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Tue, 4 May 2021 17:54:05 -0400 Subject: [PATCH] update release instructions --- README.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9224638..bdec177 100644 --- a/README.md +++ b/README.md @@ -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 +. 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