uBlock/assets/update-git.sh

14 lines
360 B
Bash
Raw Normal View History

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