Verified Commit 1dc66cae authored by Laurent Heirendt's avatar Laurent Heirendt
Browse files

change var for branch name

parent 5b7a8264
Pipeline #56019 failed with stages
in 2 minutes and 53 seconds
......@@ -10,9 +10,9 @@ rm -rf $rootDir/public
rm -rf $rootDir/theme
mkdir $rootDir/public
if [[ $CI_COMMIT_BRANCH == "develop" ]]; then
if [[ $CI_COMMIT_REF_NAME == "develop" ]]; then
version="latest";
elif [[ $CI_COMMIT_BRANCH == "master" ]]; then
elif [[ $CI_COMMIT_REF_NAME == "master" ]]; then
version="stable";
else
version="unstable";
......
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