Before releasing please update the version numbers in
TrustWalletCore.podspec and commit this change. Then create a new git tag for that number and push (replace 0.0.0 with the actual version number):
git tag 0.0.0git pushgit push origin 0.0.0
tools/ios-release. This will build, archive and upload a Cocoapod. You need to be registered as an owner for the pod.
You need to first log into your npm account that has permissions to publish.
$ npm login
Update the version number in
js/package.json and the
npm badge in
tools/js-binary-release on both
macOS to publish the new binaries to
tools/js-release to build, test and publish the updated version to the
See https://docs.gradle.org/current/userguide/signing_plugin.html to set up GPG signing.
Get a OSSRH username and password, get added to the group ID.
Install PGP Tools :
brew install gnupg - https://gpgtools.org/
~/.gradle/gradle.properties and add your information from the previous steps:
Generate GPG Key
Send Key to the server using the installed tool GPG Keychain
Generate the signing.keyId value:
$ gpg --list-keys --keyid-format short
.gpg secret key that will be assigned to signing.secretKeyRingFile parameter:
$ gpg --export-secret-keys -o secring.gpg
# Note: both spellings of username and password are neededNEXUS_USERNAME=userNEXUS_PASSWORD=passnexusUsername=usernexusPassword=passsigning.keyId=00000000signing.password=passwordsigning.secretKeyRingFile=/Users/me/.gnupg/secring.gpgorg.gradle.daemon=true
android folder run
android folder run
In case of problems in the last step go to the Sonatype webpage. Look for the staging library. It should be at the end of the list. Select it, and press "Close" button. Once it's closed select it an press "Release". Make sure to drop stale repositories so that the automatic release works in subsequent tries.
We need to release a new prebuilt Docker image every time our dependencies change. To build the docker image run
docker build . in the root folder. Use
docker push to upload to Docker Hub.