Files
codecov-action/hooks/pre-commit
T

14 lines
217 B
Bash
Raw Permalink Normal View History

2020-12-20 16:57:08 -05:00
#!/usr/bin/env bash
2021-06-10 13:28:49 -04:00
set -e
2024-11-11 10:54:09 -05:00
cp src/scripts/dist/codecov.sh dist/codecov.sh
git add dist/codecov.sh
2024-11-19 12:45:11 -05:00
git diff --cached --name-only | if grep --quiet "src/version"
then
python changelog.py
fi
2024-11-19 15:39:28 -05:00
git add CHANGELOG.md