Release 3.0.0-RC2 - Fixed version info in download.php and notes.php

This commit is contained in:
Lukas Eder 2013-02-18 13:15:57 +01:00
parent 4a8ffaea3b
commit 3192dc584d
2 changed files with 5 additions and 1 deletions

View File

@ -49,7 +49,8 @@ The jOOQ roadmap plans for:
Find release notes for currently maintained branches here:
</p>
<ul>
<li><a href="notes.php?version=<?=preg_replace('/(\\d+\\.\\d+)\\.\\d+/', '$1', $version)?>" title="Release notes for the latest jOOQ version">The latest version</a></li>
<li><a href="notes.php?version=<?=preg_replace('/(\\d+\\.\\d+)\\.\\d+/', '$1', $version)?>" title="Release notes for the latest jOOQ version">The <?=$minorVersion?> branch (the latest version)</a></li>
<li><a href="notes.php?version=2.6" title="Release notes for the 2.6 jOOQ branch">The 2.6 branch</a></li>
<li><a href="notes.php?version=2.5" title="Release notes for the 2.5 jOOQ branch">The 2.5 branch</a></li>
<li><a href="notes.php?version=2.4" title="Release notes for the 2.4 jOOQ branch">The 2.4 branch</a></li>
<li><a href="notes.php?version=2.3" title="Release notes for the 2.3 jOOQ branch">The 2.3 branch</a></li>

View File

@ -25,6 +25,9 @@ function printContent() {
else if (isset($_GET['version']) && $_GET['version'] == '2.5') {
$contents = file('inc/RELEASENOTES-2.5.txt');
}
else if (isset($_GET['version']) && $_GET['version'] == '2.6') {
$contents = file('inc/RELEASENOTES-2.6.txt');
}
else {
$contents = file('inc/RELEASENOTES.txt');
}