Add debugging to make check-pot-changes
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
2
Makefile
2
Makefile
@ -91,8 +91,10 @@ update-pot-po-metadata:
|
||||
check-pot-changes:
|
||||
@git diff pkg/i18n/locales/abra.pot | grepdiff --output-matching=hunk POT-Creation-Date | git apply --reverse --allow-empty
|
||||
@if git diff-files --quiet; then \
|
||||
echo "No .pot changes!" \
|
||||
exit 0; \
|
||||
else \
|
||||
echo ".pot changes!" \
|
||||
git diff; \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user