aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/update.sh')
-rwxr-xr-xscripts/update.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/update.sh b/scripts/update.sh
index c62d104a..6259a431 100755
--- a/scripts/update.sh
+++ b/scripts/update.sh
@@ -32,6 +32,9 @@ git fetch origin
32git fetch --tags 32git fetch --tags
33TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) 33TAG=$(git describe --tags $(git rev-list --tags --max-count=1))
34git checkout $TAG --force 34git checkout $TAG --force
35if [ -n "$LDAP_ENABLED" ]; then
36 SYMFONY_ENV=$ENV $COMPOSER_COMMAND require --no-update fr3d/ldap-bundle
37fi
35SYMFONY_ENV=$ENV $COMPOSER_COMMAND install --no-dev -o --prefer-dist 38SYMFONY_ENV=$ENV $COMPOSER_COMMAND install --no-dev -o --prefer-dist
36php bin/console doctrine:migrations:migrate --no-interaction --env=$ENV 39php bin/console doctrine:migrations:migrate --no-interaction --env=$ENV
37php bin/console cache:clear --env=$ENV 40php bin/console cache:clear --env=$ENV