summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2021-11-08 17:29:24 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2023-11-20 13:19:55 +0000
commit46c41b8941a845498c278c9f208d05300b9c6944 (patch)
treeacc21efc92408dba335e9b89c4f91022cea5a5b5
parent00473aac90380ffb1b58bd35f8c55f00c025802d (diff)
release.sh: Clean up after release
Call into remove any branch after releasing if provided. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rwxr-xr-xrelease.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/release.sh b/release.sh
index f81e8bc..e23e380 100755
--- a/release.sh
+++ b/release.sh
@@ -4,7 +4,7 @@
source ./common.sh
-LIBCAMERA=${1:-$(srcdir libcamera)}
+LIBCAMERA=$(srcdir libcamera)
cd $LIBCAMERA
@@ -21,3 +21,6 @@ git -C $LIBCAMERA checkout -b master
git -C $LIBCAMERA push upstream master
pass_fail $? "Push to master..."
+
+
+./remove-test-branch.sh "$@"