ci: ensure translation check script fails on errors

Add `set -euxo pipefail` to `check-translations.sh` to ensure the CI
fails when contributors do not update the POT file with their changes.
Currently, the CI passes even if the POT file is outdated and the POT
has not been updated for a long time.
This commit is contained in:
Yi-Jyun Pan
2026-02-08 20:27:07 +08:00
parent 6c0e02d113
commit 15d37c6016

View File

@@ -1,4 +1,6 @@
#!/bin/sh
#!/usr/bin/env bash
set -euxo pipefail
old_pot=$(mktemp)
cp po/com.mitchellh.ghostty.pot "$old_pot"