]> git.immae.eu Git - github/wallabag/wallabag.git/blame - scripts/update.sh
Added documentation about testsuite
[github/wallabag/wallabag.git] / scripts / update.sh
CommitLineData
4e7863c6
NL
1#! /usr/bin/env bash
2
3ENV=$1
4TAG=$(git describe --tags $(git rev-list --tags --max-count=1))
5
6rm -rf var/cache/*
7git fetch origin
8git fetch --tags
84e3c36e 9git checkout $TAG --force
4e7863c6
NL
10SYMFONY_ENV=$ENV composer install --no-dev -o --prefer-dist
11php bin/console cache:clear --env=$ENV