add a quick script to handle auto upgrading

This commit is contained in:
Adam Cooke
2017-04-26 21:07:36 +01:00
parent 0f10481da0
commit f7e83dfa6b
2 changed files with 38 additions and 0 deletions
+4
View File
@@ -76,6 +76,10 @@ case "$1" in
run "bundle exec ruby script/register_lets_encrypt.rb $2"
;;
auto-upgrade)
run "ruby script/auto_upgrade.rb"
;;
bundle)
if [ -n "$2" ]; then
run "bundle install --path=$2 --without=development --jobs=4 --clean"