intel_sync_upstream.sh: Add hooks to pass BUG-ID as 4th argument
This patch adds yet another parameter to specify the BUG-ID which
can be use to build the justification while pushing changes into
the intermediate staging branch.
w/o this patch:
> ./intel_sync_upstream.sh mtl fsp MTL.3471.91
Outcome: unable to push the FSP uprev patch
w/ this patch:
> ./intel_sync_upstream.sh mtl fsp MTL.3471.91 327688959
Outcome: able to use bug-id to build the justification using
`git push <remote> <branch> --push-justification=b/"$4"`
BUG=b:328608061
TEST=Able to push FSP uprev CL.
Change-Id: Id8806c0986e9e0d3cbe52d2bbc90c3ac261b6d94
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/5354168
Reviewed-by: YH Lin <yueherngl@chromium.org>
Commit-Queue: Subrata Banik <subratabanik@chromium.org>
Tested-by: Subrata Banik <subratabanik@chromium.org>
Reviewed-by: Shou-Chieh Hsu <shouchieh@chromium.org>
1 file changed