Commit 634c97d1 authored by wind2009's avatar wind2009

Update prepare-irrlicht.sh

parent 63de83b8
Pipeline #35996 passed with stages
in 10 minutes and 29 seconds
...@@ -6,11 +6,7 @@ IRRLICHT_REPO_URL="https://code.moenext.com/mycard/irrlicht-new.git" ...@@ -6,11 +6,7 @@ IRRLICHT_REPO_URL="https://code.moenext.com/mycard/irrlicht-new.git"
IRRLICHT_BRANCH_NAME="master" IRRLICHT_BRANCH_NAME="master"
# if $CI_COMMIT_REF_NAME includes develop or pre, then we use the develop branch # if $CI_COMMIT_REF_NAME includes develop or pre, then we use the develop branch
if [[ "$CI_COMMIT_REF_NAME" == *"develop"* ]]; then if [[ "$CI_COMMIT_REF_NAME" == *"develop"* || "$CI_COMMIT_REF_NAME" == *".pre"* ]]; then
IRRLICHT_BRANCH_NAME="develop"
fi
if [[ "$CI_COMMIT_REF_NAME" == *"-pre"* ]]; then
IRRLICHT_BRANCH_NAME="develop" IRRLICHT_BRANCH_NAME="develop"
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment