uBlock/assets/update-git.sh

14 lines
360 B
Bash
Raw Normal View History

2014-06-23 16:42:43 -06:00
#!/bin/bash
#
# This script assumes a linux environment
2014-06-23 17:36:45 -06:00
echo "*** uBlock: git adding changed assets..."
2014-06-23 16:42:43 -06:00
git add --update --ignore-removal --ignore-errors ./*
2014-06-23 17:36:45 -06:00
echo "*** uBlock: git committing assets..."
2014-06-23 16:42:43 -06:00
git commit -m 'update of third-party assets'
2014-06-23 17:36:45 -06:00
echo "*** uBlock: git pushing assets to remote master..."
2014-06-23 16:42:43 -06:00
git push origin master
2014-06-23 17:36:45 -06:00
echo "*** uBlock: git done."
2014-06-23 16:42:43 -06:00