How to use a specific git branch?

I want to publish an app that has a github repository, and since the master branch has google stuff and precompiled binaries, I made an fdroid branch, however, I can’t figure out how to specify this in the metadata for my application.

Under Repo, I tried
Repo:https://github.com/adolfintel/sine-android.git;branches=fdroid
And that didn’t work.

Can you help me?
Thanks

IIRC it doesn’t support branches, not sure though.

Now, can you do a “gradle flavour” for fdroid?

  • since a github-tag corresponds to a branch make the tag for f-droid in the corresponding branch to tell f-droid that there is a new version available. You can use different version schematas for f-droid and google play releases. ie. f1.0.0 and g1.0.0
  • in github i set the default- branch of my projects to the f-droid branch under Settings/Banches

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.