Add the beginnings of statistics tracking.

This commit is contained in:
Steven Black
2022-07-18 22:49:04 -04:00
parent 6dd1175476
commit 4cfe084f40
4 changed files with 1116 additions and 0 deletions

12
stats.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
echo \n "" > stats.out
for TAG_DATE in $(git tag --sort=creatordate --format='%(refname:short),%(creatordate:short)'); do
# echo "$TAGDATA"
split=(${TAG_DATE//,/ })
# echo ${split[0]}
git checkout tags/${split[0]} readmeData.json
entries=$(jq '.base.entries' readmeData.json)
echo ${split[1]},${entries} >> stats.out
done
cat stats.out