From 048872a3fd966d15bb29c0521f20407fe234b4f2 Mon Sep 17 00:00:00 2001 From: Buzz Date: Tue, 19 Dec 2017 15:29:26 +1000 Subject: [PATCH] builder.sh can now pass git tag name , or branch name to the alternate sync tool --- solo-builder/builder.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/solo-builder/builder.sh b/solo-builder/builder.sh index 4089935..878c526 100755 --- a/solo-builder/builder.sh +++ b/solo-builder/builder.sh @@ -7,11 +7,12 @@ # EXAMPLE: builder.sh -a Pedals2Paddles -r 3dr-arm-yocto-bsp -b v0.1.0 # This will use Matt's fork with a branch named v0.1.0 +# TIP: if the GIT_BRANCH starts with tags/, then it's actually a git tag that's used, if not it's a branch # Defaults if options are not set from command line set GIT_ACCOUNT=OpenSolo GIT_REPO=3dr-arm-yocto-bsp -GIT_BRANCH=master +GIT_BRANCH=tags/2.9.94 BUILD_MACHINE=both @@ -42,7 +43,9 @@ esac echo #Do it. -/vagrant/alt_sync.sh +/vagrant/alt_sync.sh $GIT_BRANCH + +cd /solo-build-alt if [ ! $? -eq 0 ] then