Don't break if no git file is found
All checks were successful
Test Action / test-community-maps-2 (push) Successful in 35s
All checks were successful
Test Action / test-community-maps-2 (push) Successful in 35s
This commit is contained in:
parent
4dda3493a8
commit
f37c93f16d
@ -24,7 +24,9 @@ su user0ad --command "/home/user0ad/usr/bin/pyrogenesis \
|
|||||||
&& test -f "$OUTPUT_FILE"
|
&& test -f "$OUTPUT_FILE"
|
||||||
|
|
||||||
# Remove git-related files from the 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*"
|
zip -d "$OUTPUT_FILE" ".git*"
|
||||||
|
fi
|
||||||
|
|
||||||
# Remove additional specified files from the output file
|
# Remove additional specified files from the output file
|
||||||
for item in $INPUT_REMOVE_FROM_PYROMOD; do
|
for item in $INPUT_REMOVE_FROM_PYROMOD; do
|
||||||
|
Loading…
Reference in New Issue
Block a user