Add MPQ verify modes, harden CI assertions, fix CRLF/docstring
CI / build-and-smoke (push) Failing after 31s

- mpqpack gains --list and --cat (StormLib-backed) for reading archives back
- CI now asserts the archive lists the expected file and that version
  substitution landed inside the MPQ, not just that a file exists
- Dockerfile strips CRLF from entrypoint/package so local Windows builds work
- drop invalid escape in package.py docstring
This commit is contained in:
2026-06-25 21:54:09 -05:00
parent 64abb39d0b
commit 922aea9bc1
5 changed files with 59 additions and 5 deletions
+3 -1
View File
@@ -37,6 +37,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
COPY --from=build /usr/local/bin/mpqpack /usr/local/bin/mpqpack
COPY package.py /opt/mpq-packager/package.py
COPY entrypoint.sh /opt/mpq-packager/entrypoint.sh
RUN chmod +x /opt/mpq-packager/entrypoint.sh
# Strip any CRLF (Windows checkouts) so the shebang and bash parse correctly.
RUN sed -i 's/\r$//' /opt/mpq-packager/entrypoint.sh /opt/mpq-packager/package.py \
&& chmod +x /opt/mpq-packager/entrypoint.sh
ENTRYPOINT ["/opt/mpq-packager/entrypoint.sh"]