https://github.com/annotation/text-fabric
Revision 4256133f44c8f85228c38e5d3bacc15e1f816ecd authored by Cody Kingham on 13 June 2020, 14:59:14 UTC, committed by Cody Kingham on 13 June 2020, 14:59:14 UTC
1 parent cfc02e5
Tip revision: 4256133f44c8f85228c38e5d3bacc15e1f816ecd authored by Cody Kingham on 13 June 2020, 14:59:14 UTC
Remove duplicate self.TF assignment
Remove duplicate self.TF assignment
Tip revision: 4256133
manageapps.sh
#!/bin/sh
# Create a nnew branch, commit all changes to that branch
# and push the branch to GitHub.
# Do this for all TF-apps.
# branch v8dev
annotationdir=~/github/annotation
if [[ "$1" == "" ]]; then
echo "Provide a branch and a commit message"
exit
else
branch="$1"
shift
fi
if [[ "$1" == "" ]]; then
echo "Provide a commit message"
exit
else
msg="$1"
shift
fi
cd $annotationdir
echo "All apps: commit changes to branch '$branch' and push to GitHub"
for app in `ls -d app-*` tutorials
# for app in `ls -d app-*`
do
echo "o-o-o [$app] o-o-o"
cd $annotationdir/$app
git add --all .
git commit -m "$msg"
git push origin master
# git checkout master
# git merge "$branch"
# git checkout -b "$branch"
# git add --all .
# git commit -m "$msg"
# git push origin "$branch"
done
echo "done"
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...