diff --git a/push b/push new file mode 100755 index 0000000..75cbc7a --- /dev/null +++ b/push @@ -0,0 +1,8 @@ +#/bin/sh +BRANCH=`git branch --show-current` +echo "Pushing branch $BRANCH" +git push +echo "Pushing subtree data for $BRANCH" +./update_subtree.sh +echo "Pushing a new web build for $BRANCH" +./update_web_build.sh diff --git a/update_subtree.sh b/update_subtree.sh new file mode 100755 index 0000000..7679a95 --- /dev/null +++ b/update_subtree.sh @@ -0,0 +1,5 @@ +#!/bin/sh +# Updates the data subtree repo +BRANCH=`git branch --show-current` +REMOTE=gogs@git.ufeff.net:birdulon/ChocolateBirdData.git +git subtree push -P data $REMOTE $BRANCH