aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/update.sh
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-10-27 09:53:09 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-10-27 09:53:09 +0200
commit9998c725330b4a99d6d12df60ac8234052e80b6a (patch)
tree7e1c3691482fd262d02884f0c6ceadeb260757bc /scripts/update.sh
parentf3b637fbfee2fa9f66e53cbadd05e85771eece9d (diff)
downloadwallabag-9998c725330b4a99d6d12df60ac8234052e80b6a.tar.gz
wallabag-9998c725330b4a99d6d12df60ac8234052e80b6a.tar.zst
wallabag-9998c725330b4a99d6d12df60ac8234052e80b6a.zip
Added require.sh to check if composer is installed
Diffstat (limited to 'scripts/update.sh')
-rw-r--r--scripts/update.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/update.sh b/scripts/update.sh
index b920a829..96a48217 100644
--- a/scripts/update.sh
+++ b/scripts/update.sh
@@ -2,6 +2,10 @@
2# You can execute this file to update wallabag 2# You can execute this file to update wallabag
3# eg: `sh update.sh prod` 3# eg: `sh update.sh prod`
4 4
5DIR="${BASH_SOURCE%/*}"
6if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi
7. "$DIR/require.sh"
8
5ENV=$1 9ENV=$1
6TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) 10TAG=$(git describe --tags $(git rev-list --tags --max-count=1))
7 11