add ssh launcher and fix updatePlugin script

This commit is contained in:
Jonathan Hodgson 2018-04-05 17:18:56 +01:00
parent e995785fdb
commit 471df2bba8
2 changed files with 4 additions and 1 deletions

2
bin/updatePlugin Normal file → Executable file
View file

@ -3,4 +3,4 @@ echo "$plugin"
versions=$(wp plugin update $plugin 2> /dev/null | tail -n 2 | head -n 1 | awk '{print $2 "->" $3}')
echo "$versions"
git add .
git commit -m "Update $plugin $version"
git commit -m "Update $plugin $versions"