mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-14 19:27:04 -04:00
Release: check the OCR models in the app tar.gz by name (the CLI tar.gz broke the glob)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
0a8b230ca0
commit
29b0b0c572
1 file changed
+2
-1
@@ -224,7 +224,8 @@ jobs:
|
||||
dpkg-deb --contents dist/release/*.deb | grep -E 'usr/bin/pdfcraft$|metainfo|applications'
|
||||
# The OCR models (#103), where the installed app looks: <bin>/../share/pdfcraft/models.
|
||||
dpkg-deb --contents dist/release/*.deb | grep -E 'usr/share/pdfcraft/models/.+\.rten$'
|
||||
tar -tzf dist/release/*.tar.gz | grep -E '/share/pdfcraft/models/.+\.rten$'
|
||||
# Named exactly: dist/release also holds the CLI-only tar.gz, and `tar -tzf a b` reads b as a member.
|
||||
tar -tzf "dist/release/pdfcraft-$PDFCRAFT_VERSION-linux-${{ matrix.arch }}.tar.gz" | grep -E '/share/pdfcraft/models/.+\.rten$'
|
||||
ldd target/release/pdfcraft
|
||||
# The CLI-only archive: the binary and its licences, and it runs.
|
||||
cli="dist/release/pdfcraft-cli-$PDFCRAFT_VERSION-linux-${{ matrix.arch }}.tar.gz"
|
||||
|
||||
Reference in new issue
Block a user