[sword-devel] Module version numbers

Jaak Ristioja jaak at ristioja.ee
Tue Sep 25 04:44:05 EDT 2018


Hello!

Most modules include version numbers matching the regular expression

  ^[0-9]+(\.[0-9]+)*$

However, looking at the .conf files, there are version fields with
values also containing dashes:

  ~/.sword/mods.d $ grep -E 'Version=.*-' *
  2tgreek.conf:Version=2.7-120109
  invstrongsrealgreek.conf:Version=1.4-090107
  jesermons.conf:SwordVersion=2017-05-24
  strongsrealgreek.conf:Version=1.5-150704
  tischmorph.conf:Version=2.7-120109

How should these be interpreted? Should 1.2-3.4 be interpreted as
(1).(2-3).(4) or (1.2)-(3.4)? It seems that SWVersion interprets such as
just 1.2.4 (without the -3 entirely).


God bless!
J



More information about the sword-devel mailing list