erplibre/script/repo_diff_stat_last_version.sh

14 lines
322 B
Bash
Raw Normal View History

#!/usr/bin/env bash
Color_Off='\033[0m' # Text Reset
BOLD='\033[1m' # Black
LAST_TAG=$(git describe --tags $(git rev-list --tags --max-count=1))
./.venv/repo forall -pc "git diff --stat ERPLibre/${LAST_TAG}..HEAD"
2021-07-01 03:19:29 -04:00
echo ""
echo -e "${BOLD}project /${Color_Off}"
2021-07-01 03:19:29 -04:00
# For actual repo
git diff --stat ${LAST_TAG}..HEAD