one-among-us-data/.github/workflows/opencc.sh

10 lines
208 B
Bash
Raw Normal View History

2022-11-16 15:36:14 +08:00
#!/usr/bin/env bash
ls -lah
git log
python3 scripts/convert_zh.py
# If the hash is the only thing that's changed, don't commit
if [[ "$(git diff --numstat | wc -l)" == "1" ]]; then
2022-11-16 15:37:13 +08:00
git reset -hard
2022-11-16 15:36:14 +08:00
fi