Skip to content
Snippets Groups Projects
Commit 6b46c56c authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

up

parent f0c755dc
Branches
Tags
No related merge requests found
Pipeline #12556 failed
...@@ -5,8 +5,10 @@ cd caosdb-cpplib ...@@ -5,8 +5,10 @@ cd caosdb-cpplib
# check if there is a crooesponding cpp branch. Use the default branch # check if there is a crooesponding cpp branch. Use the default branch
# if there isn't. # if there isn't.
if (git show-ref --verify --quiet refs/heads/$CI_COMMIT_REF_NAME) ; then if (git show-ref --verify --quiet refs/heads/$CI_COMMIT_REF_NAME) ; then
echo "git checkout $CI_COMMIT_REF_NAME"
git checkout $CI_COMMIT_REF_NAME git checkout $CI_COMMIT_REF_NAME
else else
echo "git checkout $CPP_DEFAULT_BRANCH"
git checkout $CPP_DEFAULT_BRANCH git checkout $CPP_DEFAULT_BRANCH
fi fi
git submodule update --init --recursive git submodule update --init --recursive
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment