erplibre/script/repo_diff_stat_last_version.sh
Mathieu Benoit 1bf8d7da9f [UPD] add repo_diff_manifest_production in documentation release.md
- add bold color in bash
- add default manifest
- fix print color
2021-07-16 00:55:38 -04: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