Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5d5ff699 authored by cketti's avatar cketti
Browse files

Add instructions on how to create a beta release on F-Droid

parent a8298006
Loading
Loading
Loading
Loading
+15 −1
Original line number Diff line number Diff line
@@ -11,6 +11,12 @@
   k9mail.keyPassword=<password 'k9mail@tb-android' in 1Password>
   ```

## One-time setup for F-Droid builds

1. Install *fdroidserver* by following the [installation instructions](https://f-droid.org/docs/Installing_the_Server_and_Repo_Tools).
2. [Sign up for a Gitlab account](https://gitlab.com/users/sign_up) and fork the [fdroiddata](https://gitlab.com/fdroid/fdroiddata) repository. 
3. Clone your fork of the *fdroiddata* repository.

## Release a beta version

1. Update versionCode and versionName in `app/k9mail/build.gradle`
@@ -49,7 +55,15 @@

### Create release on F-Droid

TODO
1. Fetch the latest changes from the *fdroiddata* repository.
2. Switch to a new branch in your copy of the *fdroiddata* repository.
3. Edit `metadata/com.fsck.k9.yml` to create a new entry for the version you want to release. Usually it's copy & paste of the previous entry and adjusting `versionName`, `versionCode`, and `commit` (use the tag name). Leave `CurrentVersion` and `CurrentVersionCode` unchanged. Those specify which version is the stable/recommended build.
4. Commit the changes. Message: "Update K-9 Mail to $newVersionName"
5. Run `fdroid build --latest com.fsck.k9` to build the project using F-Droid's toolchain. 
6. Push the changes to your fork of the *fdroiddata* repository.
7. Open a merge request on Gitlab. (The message from the server after the push in the previous step should contain a URL)
8. Select the *App update* template and fill it out.
9. Create merge request and the F-Droid team will do the rest.

### Create release on Google Play