Template:VersionRevision: Difference between revisions

Jump to navigation Jump to search
(4.0-9508 is the last 4.0 release build, so update 5.0 release number. Should probably check 5.0-rc test entries, I highly suspect they'll break after this change)
(Added back in the revs for 5.0-rc, likely to still need further tweaking but we'll see.)
Line 13: Line 13:
|8551@=3.5
|8551@=3.5
|11001@=4.0
|11001@=4.0
|17728@=5.0-rc
|20509@=5.0
|20509@=5.0
|#default=
|#default=
Line 32: Line 33:
{{#if:{{#regex:{{{1}}}|/^[vV]?[0-9]\.[0-9]\.?[0-9]?\-(rc-)?[0-9]+.*$/}}<!--found a new-format git release-->
{{#if:{{#regex:{{{1}}}|/^[vV]?[0-9]\.[0-9]\.?[0-9]?\-(rc-)?[0-9]+.*$/}}<!--found a new-format git release-->
|{{#expr:<!--basically, we're doing... (rev value of the base revision) + (build number)-->
|{{#expr:<!--basically, we're doing... (rev value of the base revision) + (build number)-->
{{#switch:{{#regex:{{{1}}}|/^[vV]?[0-9]\.[0-9]\.?[0-9]?/}}@<!--switching on the first part of the rev (3.0, 4.0, etc)-->
{{#switch:{{#regex:{{{1}}}|/^[vV]?[0-9]\.[0-9]\.?[0-9]?(-rc)?/}}@<!--switching on the first part of the rev (3.0, 4.0, etc)-->
|2.0@=5384
|2.0@=5384
|3.0@=7615
|3.0@=7615
|3.5@=8551
|3.5@=8551
|4.0@|4.0.1@|4.0.2@=11001
|4.0@|4.0.1@|4.0.2@=11001
|5.0-rc@=17728
|5.0@=20509
|5.0@=20509
}}
}}
Line 46: Line 48:
|3.5@=8551
|3.5@=8551
|4.0@|4.0.1@|4.0.2@=11001
|4.0@|4.0.1@|4.0.2@=11001
|5.0-rc-@=17728
|5.0@=20509
|5.0@=20509
|#default={{#regex:{{{1}}}|/^[rRvV]/|}}}}
|#default={{#regex:{{{1}}}|/^[rRvV]/|}}}}