Template:VersionRevision: Difference between revisions

no edit summary
(Aligning with actual 4.0 release, and adding 5.0 placeholder)
No edit summary
Line 6: Line 6:
|3.5|v3.5=3.5
|3.5|v3.5=3.5
|4.0|v4.0=4.0
|4.0|v4.0=4.0
|4.0.1|v4.0.1=4.0.1
|5.0|v5.0=5.0
|5.0|v5.0=5.0
|5350|r5350=2.0
|5350|r5350=2.0
Line 14: Line 15:
<!--switch cannot handle regex, so anything more complicated than straight match goes into default-->
<!--switch cannot handle regex, so anything more complicated than straight match goes into default-->
|#default=
|#default=
{{#if:{{#regex:{{{1}}}|/^[0-9]\.[0-9]\-[0-9]+$/}}<!--found a new-format git release-->
{{#if:{{#regex:{{{1}}}|/^[0-9]\.[0-9]\.?[0-9]?\-[0-9]+$/}}<!--found a new-format git release-->
|{{#regex:{{{1}}}|/^[0-9]\.[0-9]\-[0-9]+$/}}<!--input is git; output in the format we received it in-->
|{{#regex:{{{1}}}|/^[0-9]\.[0-9]\.?[0-9]?\-[0-9]+$/}}<!--input is git; output in the format we received it in-->
|{{#if:{{#regex:{{{1}}}|/^r[0-9]{1,4}$/}}<!--input is not git; detect whether we have a leading 'r'-->
|{{#if:{{#regex:{{{1}}}|/^r[0-9]{1,4}$/}}<!--input is not git; detect whether we have a leading 'r'-->
|{{{1}}}<!--we do, output as-is-->
|{{{1}}}<!--we do, output as-is-->
Line 27: Line 28:
|3.5|v3.5=8553
|3.5|v3.5=8553
|4.0|v4.0=11003
|4.0|v4.0=11003
|4.0.1|v4.0.1=11003<!--This actually aligned to a branch outside the main release stream. We still need to work out handling Dolphin branches.-->
|5.0|v5.0=20000<!--Placeholder for unreleased 5.0-->
|5.0|v5.0=20000<!--Placeholder for unreleased 5.0-->
<!--switch cannot handle regex, so anything more complicated than straight match goes into default-->
<!--switch cannot handle regex, so anything more complicated than straight match goes into default-->
Line 37: Line 39:
|3.5=8553
|3.5=8553
|4.0=11003
|4.0=11003
|4.0.1|v4.0.1=11XXX
|5.0=20000
|5.0=20000
}}
}}
Line 46: Line 49:
|3.5|v3.5=8553
|3.5|v3.5=8553
|4.0|v4.0=11003
|4.0|v4.0=11003
|4.0.1|v4.0.1=11003<!--This actually aligned to a branch outside the main release stream. We still need to work out handling Dolphin branches.-->
|5.0|v5.0=20000
|5.0|v5.0=20000
|#default={{#regex:{{{1}}}|/^[r,R]/|}}}}
|#default={{#regex:{{{1}}}|/^[r,R]/|}}}}