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

10 lines
208 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#!/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
git reset -hard
fi