2
0
forked from Wavyzz/dolibarr

Add github tools

This commit is contained in:
Laurent Destailleur
2017-01-09 10:21:59 +01:00
parent 8e615a83e5
commit fd008f88b1
2 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
#/bin/bash
Releases=("3.8" "3.9" "4.0" "5.0", "develop")
Dates=("2010-01-01", "2011-01-01", "2012-01-01", "2013-01-01", "2014-01-01", "2015-01-01", "2016-07-01")
let "counter = 1"
for i in "${Releases[@]}"
do
git shortlog -s -n --after=${Dates[counter-1]} --before=${Dates[counter]}
echo -n "Total $i: "
git log --pretty=oneline --after=${Dates[counter-1]} --before=${Dates[counter]} | wc -l
echo "======================="
echo
let "counter +=1"
done