summaryrefslogtreecommitdiff
path: root/release.sh
blob: e23e380627ac0c9294714e49d47f4a9d03066f10 (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
#!/bin/bash

# SPDX-License-Identifier: GPL-2.0-or-later

source ./common.sh

LIBCAMERA=$(srcdir libcamera)

cd $LIBCAMERA

./utils/checkstyle.py origin/master...
## 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..."


./remove-test-branch.sh "$@"