mirror of
https://github.com/deunix-educ/aventuriers-des-mots.git
synced 2026-10-13 02:11:58 +02:00
Show export failures and unexpected stops in package.sh and release.sh
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -22,6 +22,7 @@ for arg in "$@"; do
|
||||
done
|
||||
|
||||
fail() { echo "ERREUR : $*" >&2; exit 1; }
|
||||
trap 'echo "ERREUR : arret inattendu a la ligne ${LINENO} (code $?)" >&2' ERR
|
||||
|
||||
VERSION="$(sed -n 's/^config\/version="\(.*\)"/\1/p' project.godot)"
|
||||
[ -n "${VERSION}" ] || fail "config/version absent de project.godot"
|
||||
|
||||
Reference in New Issue
Block a user