mirror of
https://github.com/StevenBlack/hosts.git
synced 2024-07-07 13:02:27 +02:00
Issue #2104: fix — Remove cruft in the stats bash script.
This commit is contained in:
parent
4cfe084f40
commit
410aca3cc3
4
stats.sh
4
stats.sh
@ -1,12 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
echo \n "" > stats.out
|
||||
for TAG_DATE in $(git tag --sort=creatordate --format='%(refname:short),%(creatordate:short)'); do
|
||||
# echo "$TAGDATA"
|
||||
# echo "$TAG_DATE"
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user