Captured version 0.1.0 from workspace Cargo.toml and commit hash b13db189.
Saved to /tmp/pdftract-version-info.txt for downstream bead use.
Closes bf-4636k
1 KiB
1 KiB
bf-4636k: Capture pdftract version and commit information
What was done
Captured pdftract version and git commit information for debug log header inclusion.
Results
Version info captured:
- pdftract version: 0.1.0 (from workspace Cargo.toml)
- git commit:
b13db18929
Output file: /tmp/pdftract-version-info.txt
Notes
pdftract --versionflag is not available; version was extracted from workspace.package.version in/home/coding/pdftract/Cargo.toml- Git repository was accessible and commit hash retrieved successfully
- Temp file created and verified to contain both version and commit hash
- File persists at
/tmp/pdftract-version-info.txtfor use by downstream beads
Acceptance criteria
- ✅ PASS: pdftract version captured (0.1.0 from Cargo.toml)
- ✅ PASS: git rev-parse HEAD output captured (
b13db18929) - ✅ PASS: Both saved to temp file (/tmp/pdftract-version-info.txt)
- ✅ PASS: File verified to contain both pieces of information