Deployment shouldn't use shorthand bash.

This commit is contained in:
Tom Gallacher 2017-01-06 15:19:29 +00:00
parent 6bf719033a
commit ddec264c19

View File

@ -10,4 +10,7 @@ IFS='/'
read -ra ADDR <<< "$CIRCLE_COMPARE_URL" read -ra ADDR <<< "$CIRCLE_COMPARE_URL"
[[ "$(git diff --name-only """${ADDR[-1]}""")" == *"ui/"* ]] && make -C ui publish | sed '/NPM_TOKEN/d' if [[ "$(git diff --name-only """${ADDR[-1]}""")" == *"ui/"* ]]
then
make -C ui publish | sed '/NPM_TOKEN/d'
fi