mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-24 02:13:02 -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"
|
cd "$BUILD_DIR"
|
||||||
package="$(find . -maxdepth 1 -type f -name 'Cockatrice-*.exe' -print -quit)"
|
package="$(find . -maxdepth 1 -type f -name 'Cockatrice-*.exe' -print -quit)"
|
||||||
if [[ ! $package ]]; then
|
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
|
exit 1
|
||||||
fi
|
fi
|
||||||
seven_zip="$(command -v 7z || true)"
|
seven_zip="$(command -v 7z || true)"
|
||||||
|
|
@ -346,10 +346,10 @@ if [[ $MAKE_PACKAGE ]]; then
|
||||||
echo "Inspecting $package"
|
echo "Inspecting $package"
|
||||||
if "$seven_zip" l "$package" |
|
if "$seven_zip" l "$package" |
|
||||||
grep -E "_autogen|\.dir[\\/]|\.tlog|(^|[\\/])x64[\\/]|(^|[\\/])\.qt[\\/]|(^|[\\/])\.qsb[\\/]|(^|[\\/])\.lupdate[\\/]|CMakeFiles"; then
|
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
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo "Installer content is clean."
|
echo "Installer content is clean"
|
||||||
fi
|
fi
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue