babel/scripts/build-website.sh
Sebastian McKenzie e733235bea +x
2015-07-13 21:00:59 +01:00

17 lines
248 B
Bash
Executable File

#!/bin/sh
set -e
if [ ! -d ./_babel.github.io ]; then
git clone git@github.com:babel/babel.github.io.git _babel.github.io
fi
cd _babel.github.io
if [ ! -d ./_babel ]; then
ln -s .. _babel
fi
make build
git commit -am "v`babel -V`"
git push