goal-tools/burndown-generator/run.sh
Lance Bragstad df995a0328 Add initial tools for burndown charts
This tooling has been used several times for tracking large efforts
across many projects. This commit introduces it to the goal-tools
reporsitory and attempts to make it a bit more generic and not
specific to any one effort it was used for in the past.

Change-Id: I316cbd0fb9a98c5cc7cfdc6e4b96579e91d69271
2018-01-18 16:45:16 +00:00

22 lines
356 B
Bash
Executable File

#!/bin/bash -x
set -e
date
cd $(dirname $0)
if [[ ! -d .venv ]]
then
virtualenv --python=python3.5 .venv
.venv/bin/pip install -r requirements.txt
fi
source .venv/bin/activate
./gen-burndown.py
sed -i "s/Last updated:.*/Last updated: $(date -u)/" index.html
git add data.* *.json index.html
git commit -m "Updated csv"
git push origin master