Skip to content

commit-binaries helper tool

Migration requested to merge mkorpershoek/commit-binaries into ti-android-12

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

@glaroque @souajih:

Edited by Migration

Merge request reports

Loading