#!/usr/bin/env bash

git clone https://github.com/simple-statistics/simple-statistics.github.com.git
node simple-statistics.github.com/update_version.js ../package.json
cd simple-statistics.github.com
git add index.html
git commit -m "chore: Update version"

#!/usr/bin/env bash

rm -r simple-statistics.github.com
git clone https://github.com/simple-statistics/simple-statistics.github.com.git
node simple-statistics.github.com/update_version.js ../package.json
cd simple-statistics.github.com
git add index.html
git commit -m "chore: Update version"

Make website build script robust for if you already have a directory local.
build: Make website build script robust for if you already have a directory local.
