diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-11-07 11:14:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-07 11:14:05 +0100 |
commit | 40f3ab5311eda3c52f072b8a141814ec300f1ea4 (patch) | |
tree | 0c37d3cac192e10519d696089e6025d5de7974f4 | |
parent | a4de2351a0fbae735cad234ca8a50bdee7632b68 (diff) | |
parent | 7d173a28c784b647b4c4fb1857aa7c21da5961c3 (diff) | |
download | wallabag-40f3ab5311eda3c52f072b8a141814ec300f1ea4.tar.gz wallabag-40f3ab5311eda3c52f072b8a141814ec300f1ea4.tar.zst wallabag-40f3ab5311eda3c52f072b8a141814ec300f1ea4.zip |
Merge pull request #2555 from dkrmr/fix_update_script
Reorder variable assignation in update.sh script, fix #2554
-rw-r--r-- | scripts/update.sh | 2 |
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 | ||
11 | ENV=$1 | 11 | ENV=$1 |
12 | TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) | ||
13 | 12 | ||
14 | rm -rf var/cache/* | 13 | rm -rf var/cache/* |
15 | git fetch origin | 14 | git fetch origin |
16 | git fetch --tags | 15 | git fetch --tags |
16 | TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) | ||
17 | git checkout $TAG --force | 17 | git checkout $TAG --force |
18 | SYMFONY_ENV=$ENV $COMPOSER_COMMAND install --no-dev -o --prefer-dist | 18 | SYMFONY_ENV=$ENV $COMPOSER_COMMAND install --no-dev -o --prefer-dist |
19 | php bin/console cache:clear --env=$ENV | 19 | php bin/console cache:clear --env=$ENV |