mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-21 00:55:09 -07:00
Update .ci/compile.sh
Co-authored-by: tooomm <tooomm@users.noreply.github.com>
This commit is contained in:
parent
799e39577e
commit
55ce3d18e6
1 changed files with 3 additions and 3 deletions
|
|
@ -333,7 +333,7 @@ if [[ $MAKE_PACKAGE ]]; then
|
|||
cd "$BUILD_DIR"
|
||||
package="$(find . -maxdepth 1 -type f -name 'Cockatrice-*.exe' -print -quit)"
|
||||
if [[ ! $package ]]; then
|
||||
echo "::error file=$0::could not find installer to inspect"
|
||||
echo "::error file=$0::Could not find installer to inspect"
|
||||
exit 1
|
||||
fi
|
||||
seven_zip="$(command -v 7z || true)"
|
||||
|
|
@ -346,10 +346,10 @@ if [[ $MAKE_PACKAGE ]]; then
|
|||
echo "Inspecting $package"
|
||||
if "$seven_zip" l "$package" |
|
||||
grep -E "_autogen|\.dir[\\/]|\.tlog|(^|[\\/])x64[\\/]|(^|[\\/])\.qt[\\/]|(^|[\\/])\.qsb[\\/]|(^|[\\/])\.lupdate[\\/]|CMakeFiles"; then
|
||||
echo "::error file=$0::installer contains build-tree artifacts"
|
||||
echo "::error file=$0::Installer contains build-tree artifacts"
|
||||
exit 1
|
||||
fi
|
||||
echo "Installer content is clean."
|
||||
echo "Installer content is clean"
|
||||
fi
|
||||
echo "::endgroup::"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue