#! /usr/bin/env bash# You can execute this file to install wallabag# eg: `sh install.sh prod`DIR="${BASH_SOURCE%/*}"if[[!-d"$DIR"]];thenDIR="$PWD";fi
."$DIR/require.sh"ENV=$1TAG=$(gitdescribe--tags$(gitrev-list--tags--max-count=1))
gitcheckout$TAGSYMFONY_ENV=$ENVcomposerinstall--no-dev-o--prefer-dist
phpbin/consolewallabag:install--env=$ENV