rdiff 0.1.0

A library for tracking changes to a file over time
Documentation
#!/bin/bash


set -o errexit -o nounset


if [ "$TRAVIS_BRANCH" != "master" ]
then
  echo "This commit was made against the $TRAVIS_BRANCH and not the master! No deploy!"

  exit 0

fi


rev=$(git rev-parse --short HEAD)

cd target/docs


git init

git config user.name "Daniel Yule"

git config user.email "daniel.yule@gmail.com"


git remote add upstream "https://$GH_TOKEN@github.com/dyule/rdiff.git"

git fetch upstream

git reset upstream/gh-pages


touch .


git add -A .

git commit -m "rebuild pages at ${rev}"

git push -q upstream HEAD:gh-pages