Skip to content

Commit 6c29e5c

Browse files
committed
Add instructions to update main F-Droid repo
1 parent 18b5e0c commit 6c29e5c

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

docs/07_release_instructions.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ Now on the remote `master` branch there is the release code which you need to tu
238238

239239
## Having the APK signed by @TheAssassin
240240

241-
Currently @TheAssassin is the only holder of NewPipe's APK signing keys. Therefore you should send the unsigned APK to him, after which he will sign it and send it back to you. He will also then publish the signed APK in NewPipe's F-Droid repo.
241+
Currently, @TheAssassin is the only holder of NewPipe's APK signing keys. Therefore, you should send the unsigned APK to him, after which he will sign it and send it back to you. He will also then publish the signed APK in NewPipe's F-Droid repo.
242242

243243
- Rename `app-release-unsigned.apk` to `NewPipe_vX.X.X.apk`
244244
- Generate a signature for the APK file
@@ -264,6 +264,17 @@ Currently @TheAssassin is the only holder of NewPipe's APK signing keys. Therefo
264264
- Publish the release
265265
- Profit :-D
266266

267+
## Publish the release through the F-Droid main repo
268+
Once the release is tagged, F-Droid is able to build and the sign the APK. Since NewPipe's APK is reproducible, the APK built by F-Droid will be identical to the one you built locally. Therefore, you can publish the release through the F-Droid main repo, which will make the new version available to all users. However, a second APK which is only signed by F-Droid is also published in their main repo. For that reason, we need to update the metadata and add signing data for the new version manually:
269+
270+
- Clone or update F-Droid metadata repo
271+
- `git clone https://gitlab.com/fdroid/fdroiddata.git` / `git pull`
272+
- Change to the fdroiddata directory: `cd fdroiddata`
273+
- Update the metadata for NewPipe in the corresponding file (`metadata/org.schabi.newpipe`) by copying the metadata from the previous version and updating the version number and the commit hash of the tagged release:
274+
- Add the signature of the new version: `fdroid signatures path/to/NewPipe_vX.X.X.apk` (install [`fdroidserver`](https://f-droid.org/docs/Installing_the_Server_and_Repo_Tools/) if you don't have it yet)
275+
- Commit the changes: `git commit -m "Update org.schabi.NewPipe to X.X.X (VERSION_CODE)"`
276+
- Push the changes and open a Merge Request to the fdroiddata repo (choose the app update template for the MR)
277+
267278
## Blog post
268279

269280
The blog post writers need an up-to-date list of merged PRs numbered in chronological order. This is so that they can keep track of what changes have already been detailed in the draft blog post, and which ones still need to be added. So make sure that there is always at least one up-to-date "master copy" of the draft release notes available for them to review.

0 commit comments

Comments
 (0)