Don't break if no git file is found
All checks were successful
Test Action / test-community-maps-2 (push) Successful in 35s

This commit is contained in:
Stanislas Daniel Claude Dolcini 2024-09-09 19:30:00 +03:00
parent 4dda3493a8
commit f37c93f16d
Signed by: Stan
GPG Key ID: 244943DFF8370D60

View File

@ -24,7 +24,9 @@ su user0ad --command "/home/user0ad/usr/bin/pyrogenesis \
&& test -f "$OUTPUT_FILE"
# Remove git-related files from the output file
if zipinfo "$OUTPUT_FILE" ".git*" >/dev/null 2>&1; then
zip -d "$OUTPUT_FILE" ".git*"
fi
# Remove additional specified files from the output file
for item in $INPUT_REMOVE_FROM_PYROMOD; do