X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fupdate.sh;h=96a48217f492caea1835323c116162e3bce9fd45;hb=9998c725330b4a99d6d12df60ac8234052e80b6a;hp=48281210d02e241c441994830f299bb12e2f4124;hpb=84e3c36e02e4ffb4611f6e1eca37c97a0ffb4660;p=github%2Fwallabag%2Fwallabag.git diff --git a/scripts/update.sh b/scripts/update.sh index 48281210..96a48217 100644 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -1,4 +1,10 @@ #! /usr/bin/env bash +# You can execute this file to update wallabag +# eg: `sh update.sh prod` + +DIR="${BASH_SOURCE%/*}" +if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi +. "$DIR/require.sh" ENV=$1 TAG=$(git describe --tags $(git rev-list --tags --max-count=1))