mirror of
https://github.com/OpenSolo/OpenSolo.git
synced 2025-04-30 22:54:37 +02:00
builder.sh can now pass git tag name , or branch name to the alternate sync tool
This commit is contained in:
parent
5495bdf7f8
commit
048872a3fd
@ -7,11 +7,12 @@
|
|||||||
|
|
||||||
# EXAMPLE: builder.sh -a Pedals2Paddles -r 3dr-arm-yocto-bsp -b v0.1.0
|
# 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
|
# 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
|
# Defaults if options are not set from command line set
|
||||||
GIT_ACCOUNT=OpenSolo
|
GIT_ACCOUNT=OpenSolo
|
||||||
GIT_REPO=3dr-arm-yocto-bsp
|
GIT_REPO=3dr-arm-yocto-bsp
|
||||||
GIT_BRANCH=master
|
GIT_BRANCH=tags/2.9.94
|
||||||
BUILD_MACHINE=both
|
BUILD_MACHINE=both
|
||||||
|
|
||||||
|
|
||||||
@ -42,7 +43,9 @@ esac
|
|||||||
echo
|
echo
|
||||||
|
|
||||||
#Do it.
|
#Do it.
|
||||||
/vagrant/alt_sync.sh
|
/vagrant/alt_sync.sh $GIT_BRANCH
|
||||||
|
|
||||||
|
cd /solo-build-alt
|
||||||
|
|
||||||
if [ ! $? -eq 0 ]
|
if [ ! $? -eq 0 ]
|
||||||
then
|
then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user