Reorder linting on build-and-deploy
This commit is contained in:
parent
d7f26b27ea
commit
2e94516ee2
|
@ -24,12 +24,13 @@ if [[ -n ${1} ]]; then
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -n "> Linting code for errors... "
|
|
||||||
./lint || exit
|
|
||||||
|
|
||||||
HOSTS=( ${@} )
|
HOSTS=( ${@} )
|
||||||
echo "> Deploying to host(s): ${HOSTS[@]}"
|
echo "> Deploying to host(s): ${HOSTS[@]}"
|
||||||
|
|
||||||
|
# Lint to prevent deploying bad code
|
||||||
|
echo -n "Linting code for errors... "
|
||||||
|
./lint || exit
|
||||||
|
|
||||||
# Build the packages
|
# Build the packages
|
||||||
echo -n "Building packages... "
|
echo -n "Building packages... "
|
||||||
version="$( ./build-unstable-deb.sh 2>/dev/null )"
|
version="$( ./build-unstable-deb.sh 2>/dev/null )"
|
||||||
|
|
Loading…
Reference in New Issue