Reorder linting on build-and-deploy

This commit is contained in:
Joshua Boniface 2021-10-27 13:25:14 -04:00
parent d87bea4159
commit 91fb9e1241
1 changed files with 4 additions and 3 deletions

View File

@ -24,12 +24,13 @@ if [[ -n ${1} ]]; then
done
fi
echo -n "> Linting code for errors... "
./lint || exit
HOSTS=( ${@} )
echo "> Deploying to host(s): ${HOSTS[@]}"
# Lint to prevent deploying bad code
echo -n "Linting code for errors... "
./lint || exit
# Build the packages
echo -n "Building packages... "
version="$( ./build-unstable-deb.sh 2>/dev/null )"