attempt to fix setting env

This commit is contained in:
rodicasutu
2020-07-02 15:28:45 +03:00
parent 2603cc67d9
commit b831dbd9f3
2 changed files with 7 additions and 7 deletions

View File

@@ -3,11 +3,10 @@ echo "Branch name: ${TRAVIS_BRANCH}"
if [ "${TRAVIS_BRANCH}" == "master" ];
then
export mavenPhase="deploy"
export MAVEN_PHASE="deploy"
elif [[ ${TRAVIS_BRANCH} = release* ]];
then
export mavenPhase="deploy"
export MAVEN_PHASE=$"deploy"
else
export mavenPhase="verify"
export MAVEN_PHASE=$"verify"
fi
echo "Maven Phase: ${mavenPhase}"