diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-10-09 21:50:15 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-10-09 21:50:15 +0200 |
commit | 4e7863c6aa0010c22e471a84859217e1ca8227b8 (patch) | |
tree | 44b864002cc5240adce343e6dee22fbffb7a672e /scripts/install.sh | |
parent | 26490a8794e762a77bb0439790db641a222fb0ef (diff) | |
download | wallabag-4e7863c6aa0010c22e471a84859217e1ca8227b8.tar.gz wallabag-4e7863c6aa0010c22e471a84859217e1ca8227b8.tar.zst wallabag-4e7863c6aa0010c22e471a84859217e1ca8227b8.zip |
Created scripts folder to store update/install/release process
Diffstat (limited to 'scripts/install.sh')
-rw-r--r-- | scripts/install.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/install.sh b/scripts/install.sh new file mode 100644 index 00000000..755aac1c --- /dev/null +++ b/scripts/install.sh | |||
@@ -0,0 +1,8 @@ | |||
1 | #! /usr/bin/env bash | ||
2 | |||
3 | ENV=$1 | ||
4 | TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) | ||
5 | |||
6 | git checkout $TAG | ||
7 | SYMFONY_ENV=$ENV composer install --no-dev -o --prefer-dist | ||
8 | php bin/console wallabag:install --env=$ENV | ||