mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2024-12-13 17:18:37 +02:00
7b81d7c84a
[why] This can not work. Issue 1: It is unspecified in which order the font matrix jobs run, so the version number changes somewhen. The changed (version-bumped) files are never committed and written back, so this would have to be done manually anyhow. The version-bump script itself has issues because the regexes for the change are a bit too loose and other version like strings are changes also (like the Script Version). Issue 2: The script changed versions that should not be changed like the script version in the scripts (rather than the NF release version). In bin/scripts/generate-glyph-info-from-set.py pumping has been forgotten/omitted completely. [how] In the version-bump script: * Use more modern regex * Instead of copying the code use a loop Create a commit with the bumped version information in all scripts. This can only be done with the final job, because we have a problem to checkout the modified version with actions/checkout. We need to bump the version on every patch job, because we need the correct information already in the script when we patch. [note] This does not prevent to have multiple commits attempts that change to the same version. But if the change is empty, no commit will be added and the step is silently ignored. Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de> |
||
---|---|---|
.. | ||
scripts |