2.3 KiB
Release checklist - generate APK
on the command-line:
-
update core rust submodule, if needed: $ ./tools/update-core.sh $ ./tools/clean-core.sh # to be sure nothing gets mixed up
-
$ ./ndk-make.sh
this will take some time - meanwhile we're doing some housekeeping:
-
update translations and local help: $ ./tools/tx-pull-translations.sh $ cd ../deltachat-pages; ./tools/create-local-help.py; cd ../deltachat-ios
-
update CHANGELOG.md (the core-changelog at https://github.com/deltachat/deltachat-core-rust/blob/master/CHANGELOG.md and the "N commits to master since last release" on https://github.com/deltachat/deltachat-android/releases gives some hints)
in Android Studio:
-
bump version in gradle.build, update both, versionCode and versionName
-
if
./ndk-make.shfrom step 2. is finished successfully: a) select "Build / Generate signed APK" (not: App Bundle as this would require uploading the signing key) b) select flavorgplayReleasewith V1 signature enabled (needed for easy APK verification), V2 is optional
on success, the generated APK is at
gplay/release/deltachat-gplay-release-VERSION.apk
Upload APK to get.delta.chat
- $ cd gplay/release
$ rsync deltachat-gplay-release-VERSION.apk jekyll@download.delta.chat:/var/www/html/download/android/
(you need the private SSH key of the jekyll user; you can find it in this file:
https://github.com/hpk42/otf-deltachat/blob/master/secrets/delta.chat
It is protected with git-crypt -
after installing it, you can decrypt it with
git crypt unlock. If your key isn't added to the secrets, you can ask on irc add you. Add the key to your~/.ssh/configfor the host, or to your ssh-agent, so rsync is able to use it)
Release on Play Store
on https://play.google.com/apps/publish/ :
- a) open "Delta Chat/Release management/App releases/Open track/Manage" then "Create release/Browse files" and select APK from above b) fill out "What's new in this release?" (500 characters max) c) click "Save" and then "Review" d) rollout to 20% by default is fine
Release new F-Droid version
- make sure, everything is pushed, then: $ git tag v1.2.1; git push --tags
F-Droid picks on the tags starting with "v" and builds the version. This may take some days.