Commit 00f4af2
FIX: Add fallback validation for CI environments without pdftotext
GitHub Actions validation failed because pdftotext is not available in the
Docker container, causing PDF text extraction to fail silently.
## Changes
- Add proper check for pdftotext availability using 'command -v'
- Add alternative validation method checking LaTeX source files
- Graceful fallback ensures validation works in all environments
- Clear warning messages explain when alternative validation is used
## Validation Logic
1. Primary: Use pdftotext to extract text from PDF title pages
2. Fallback: Check if version was properly substituted in .sty file
3. Both methods validate version synchronization worked correctly
This ensures the version synchronization safeguards work reliably in both
local development (with pdftotext) and CI environments (without pdftotext).
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent 7f244b0 commit 00f4af2
1 file changed
+15
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
715 | 715 | | |
716 | 716 | | |
717 | 717 | | |
718 | | - | |
719 | | - | |
720 | | - | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
721 | 733 | | |
722 | 734 | | |
723 | 735 | | |
| |||
0 commit comments