Skip to content

Instantly share code, notes, and snippets.

@brianclogan
Created August 16, 2016 22:43
Show Gist options
  • Save brianclogan/eff0781740b79cc78eac80c919266775 to your computer and use it in GitHub Desktop.
Save brianclogan/eff0781740b79cc78eac80c919266775 to your computer and use it in GitHub Desktop.
[ -f git-log.txt ] && rm git-log.txt
git log -1 --pretty=%B > git-log.txt
if grep -Fq 'composer' git-log.txt; then
composer update --no-interaction
fi
php artisan migrate --force
php artisan cache:clear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment