manual.txt: use tablenos filter also; fix tools/update-version.php

This commit is contained in:
gitlost 2022-05-24 00:21:44 +01:00
parent 9ae4e347d7
commit d1f2d1bfec
3 changed files with 60 additions and 60 deletions

View file

@ -240,7 +240,6 @@ version_replace(1, $data_dirname . 'docs/manual.pmd', '/^% Version /', '/[0-9]+\
if ($build !== 9) { // Don't update if marking version as dev
version_replace(1, $data_dirname . 'docs/manual.pmd', '/^The current stable version of Zint/', '/[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?/', $v_str);
}
version_replace(1, $data_dirname . 'docs/manual.pmd', '/^Zint version /', '/[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?( \(dev\))?/', $v_str);
// docs/zint.1.pmd