]>
git.immae.eu Git - github/wallabag/wallabag.git/blob - scripts/update.sh
96a48217f492caea1835323c116162e3bce9fd45
2 # You can execute this file to update wallabag
3 # eg: `sh update.sh prod`
5 DIR
="${BASH_SOURCE%/*}"
6 if [[ ! -d "$DIR" ]]; then DIR
="$PWD"; fi
10 TAG
=$(git describe --tags $(git rev-list --tags --max-count=1))
15 git checkout
$TAG --force
16 SYMFONY_ENV
=$ENV composer
install --no-dev -o --prefer-dist
17 php bin
/console cache
:clear --env=$ENV