feat(core): add outdated version warning to -init when version is outdated

This commit is contained in:
purple 2023-11-19 14:49:32 +01:00
parent c30ac8c7a4
commit d963972937

View file

@ -1121,6 +1121,7 @@ if [[ ( $2 == "-init" || $2 == "-I" ) ]]; then VCMD="y"
tnum=${ASKTEMPLATE}
log_bright "[INFO] Downloading templates from 'teamblueprint/templates'.."
if [[ $(php artisan bp:latest) != "$VERSION" ]]; then log_yellow "[WARNING] Your Blueprint installation version is outdated, some templates might break or show random bugs."
cd .blueprint/tmp
git clone "https://github.com/teamblueprint/templates.git"
cd ${FOLDER}/.blueprint