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


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