blob: fb9a1a660c6ec8f80660bc702e79385d957af4a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0-or-later
source ./common.sh
LIBCAMERA=$(srcdir libcamera)
cd $LIBCAMERA
./utils/checkstyle.py origin/master...
cd -
## We can't gate on checkstyle failures as we allow checkstyle
## exceptions. Still - the output from above can be included
## in any report and log
#pass_fail $? "Checkstyle fails..."
echo "libcamera at version : " $(libcamera_version "$LIBCAMERA")
git -C $LIBCAMERA branch -D master
git -C $LIBCAMERA checkout -b master
git -C $LIBCAMERA push upstream master
pass_fail $? "Push to master..."
$NOTIFY "Merged $@"
./remove-test-branch.sh "$@"
|