fix: testing behaviour for real
This commit is contained in:
parent
c3ad561418
commit
c41dd7e9fa
1 changed files with 2 additions and 1 deletions
|
@ -13,12 +13,13 @@ rm -rf $working_dir
|
|||
mkdir -p $working_dir
|
||||
cd $working_dir
|
||||
|
||||
target_branch=$(git rev-parse --abbrev-ref HEAD)
|
||||
|
||||
git clone --quiet ssh://git@git.serguzim.me:3022/emgauwa/controller.git controller || exit
|
||||
pushd ./controller > /dev/null
|
||||
|
||||
git checkout dev >/dev/null 2>&1
|
||||
git checkout $(git rev-parse --abbrev-ref HEAD) >/dev/null 2>&1
|
||||
git checkout $target_branch >/dev/null 2>&1
|
||||
git checkout $2 >/dev/null 2>&1
|
||||
|
||||
echo "Building controller on branch $(git rev-parse --abbrev-ref HEAD)"
|
||||
|
|
Loading…
Reference in a new issue