#!/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 "$@"