This repo contains patches and workflows to build stable Fenix (Firefox for Android) releases with the add-on collection override feature otherwise only present in unstable Nightly builds and, as of release 107, beta builds.
I apply them continuously and build signed APKs here.
Clone the fenix-customizations and fenix-mod repo and add upstream remote
git clone git@github.com:va1entin/fenix-customizations.git
git clone git@github.com:va1entin/fenix-mod.git
cd fenix-mod
git remote add upstream https://github.com/mozilla-mobile/fenix.git
Set a (stable) tag you want to modify, add customizations and push to run workflows
TAG_NAME="v101.1.0"
FORK_TAG_NAME="$(echo $TAG_NAME | sed 's/^v//')-mod"
git fetch upstream
git checkout "$TAG_NAME"
git checkout -b "$FORK_TAG_NAME"
rm .github/workflows/*
cp ../fenix-customizations/*.yml .github/workflows
cp ../fenix-customizations/install-sdk.sh automation
git apply ../fenix-customizations/application_id.patch ../fenix-customizations/app_name.patch ../fenix-customizations/amo-override.patch
git add app automation .github
git diff --staged
git commit -m"patch $TAG_NAME and release as $FORK_TAG_NAME"
git push --set-upstream origin "$FORK_TAG_NAME"