feat(core): add outdated version warning to -init when version is outdated
This commit is contained in:
parent
c30ac8c7a4
commit
d963972937
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue