erplibre/script/git/repo_diff_stat_last_version.sh
2023-01-02 21:54:20 -05:00

13 lines
322 B
Bash
Executable file

#!/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"
echo ""
echo -e "${BOLD}project /${Color_Off}"
# For actual repo
git diff --stat ${LAST_TAG}..HEAD