move to last
@@ -40,7 +40,7 @@ WORKSPACE=${BUILD_DIR:=$SCRIPTPATH}/resin-board
HASSIO_ROOT=${HASSIO_ROOT:=$SCRIPTPATH/../..}
DOWNLOAD_DIR=$PERSISTENT_WORKDIR/shared-downloads
SSTATE_DIR=$PERSISTENT_WORKDIR/$MACHINE/sstate
-RESIN_BRANCH=${RESIN_BRANCH:=2.0.0}
+RESIN_BRANCH=${RESIN_BRANCH:=latest}
# evaluate git repo and arch
case $MACHINE in
