aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDarius Kramer <dev@dkramer.fastmail.com>2016-11-07 09:55:03 +0100
committerDarius Kramer <dev@dkramer.fastmail.com>2016-11-07 09:55:03 +0100
commit7d173a28c784b647b4c4fb1857aa7c21da5961c3 (patch)
tree02f681ccc4951326f5ed918a6f23a679ee1bbf9e
parent06283bef72a0fcc6004dc69e014146486ba210bc (diff)
downloadwallabag-7d173a28c784b647b4c4fb1857aa7c21da5961c3.tar.gz
wallabag-7d173a28c784b647b4c4fb1857aa7c21da5961c3.tar.zst
wallabag-7d173a28c784b647b4c4fb1857aa7c21da5961c3.zip
Reorder variable assignation in update.sh script, fix #2554
-rw-r--r--scripts/update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/update.sh b/scripts/update.sh
index f43c4f24..a29e0168 100644
--- a/scripts/update.sh
+++ b/scripts/update.sh
@@ -9,11 +9,11 @@ if [ ! -d "$DIR" ]; then DIR="$PWD/scripts"; fi
9. "$DIR/require.sh" 9. "$DIR/require.sh"
10 10
11ENV=$1 11ENV=$1
12TAG=$(git describe --tags $(git rev-list --tags --max-count=1))
13 12
14rm -rf var/cache/* 13rm -rf var/cache/*
15git fetch origin 14git fetch origin
16git fetch --tags 15git fetch --tags
16TAG=$(git describe --tags $(git rev-list --tags --max-count=1))
17git checkout $TAG --force 17git checkout $TAG --force
18SYMFONY_ENV=$ENV $COMPOSER_COMMAND install --no-dev -o --prefer-dist 18SYMFONY_ENV=$ENV $COMPOSER_COMMAND install --no-dev -o --prefer-dist
19php bin/console cache:clear --env=$ENV 19php bin/console cache:clear --env=$ENV