erplibre/script/repo_diff_stat_last_version.sh

9 lines
221 B
Bash
Executable file

#!/usr/bin/env bash
LAST_TAG=$(git describe --tags $(git rev-list --tags --max-count=1))
./.venv/repo forall -pc "git diff --stat ERPLibre/${LAST_TAG}..HEAD"
echo ""
# For actual repo
git diff --stat ${LAST_TAG}..HEAD