diff options
| author | Taras Madan <tarasmadan@google.com> | 2024-08-30 10:41:32 +0200 |
|---|---|---|
| committer | Taras Madan <tarasmadan@google.com> | 2024-08-30 09:01:40 +0000 |
| commit | db150e23dfae69f02b0712803ebb12dce0283903 (patch) | |
| tree | 722029a4a2871dfd5dcbc004bb1e8f9787b855f2 /tools | |
| parent | f4865e39dd0bcae7e5f3f5d59807d6ac9a8a99ba (diff) | |
dashboard/app: branch info is needed to get target commit
This code was deleted accidentally.
Branch information is needed here to get the last target day commit.
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/syz-bq.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/syz-bq.sh b/tools/syz-bq.sh index 45b5608f7..8a233a9cc 100755 --- a/tools/syz-bq.sh +++ b/tools/syz-bq.sh @@ -5,7 +5,7 @@ set -e # exit on any problem set -o pipefail -while getopts w:d:t:n:r:c: option +while getopts w:d:t:n:r:b:c: option do case "${option}" in @@ -14,6 +14,7 @@ do t)to_date=${OPTARG};; n)namespace=${OPTARG};; r)repo=${OPTARG};; + b)branch=${OPTARG};; c)client_name=${OPTARG};; esac done @@ -43,6 +44,11 @@ then echo "-r is required to specify the merging repo base" exit fi +if [ -z "$branch" ] +then + echo "-b is required to specify the merging branch base" + exit +fi echo "Workdir: $workdir" base_dir="${workdir}repos/linux_kernels" |
