commit-binaries helper tool
Extract most of the commit related logic from release_android.sh
into a dedicated shell script
named commit-binaries.sh
.
Help/usage:
usage: commit-binaries.sh [options]
$ commit-binaries.sh --from-repo=<repo root directory> --to-repo=<repo root directory> --to-project=<project sub-path>
Options:
--from-repo Absolute path to the source repo
--from-projects (OPTIONAL) space-separated list of relative source projects. Defaults to all
--to-repo Absolute path to the destination repo
--to-project Relative path in the destination repo where git commit is ran
--title-prefix (OPTIONAL) commit message title prefix. Defaults to "generic"
--dry-run (OPTIONAL) don't commit, pass --dry-run to git instead
--help (OPTIONAL) display usage
Examples:
$ commit-binaries.sh --from-repo=/home/user/src/android-common-kernel --from-projects='common hikey-modules' \
--to-repo=/home/user/src/aosp --to-project=device/amlogic/yukawa-kernel
- please merge whenever upstream is merged: https://gitlab.com/mediatek/aiot/bsp/build-bootloaders/-/merge_requests/43
- if you want to provide feedback/review on the changes, please review on the upstream merge request as well.
Edited by Migration