Skip to content

Commit 6e33b90

Browse files
committed
CDash 2.6.0
1 parent 9beaccb commit 6e33b90

7 files changed

Lines changed: 26 additions & 4 deletions

File tree

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
rename = require("gulp-rename"),
1212
sourcemaps = require('gulp-sourcemaps'),
1313
uglify = require('gulp-uglify'),
14-
release = false, // Change to true when cutting a release.
14+
release = true, // Change to true when cutting a release.
1515
version;
1616

1717
if (release) {

include/version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616

1717
// Current version
1818
$CDASH_VERSION_MAJOR = '2';
19-
$CDASH_VERSION_MINOR = '5';
19+
$CDASH_VERSION_MINOR = '6';
2020
$CDASH_VERSION_PATCH = '0';
2121
$CDASH_VERSION = $CDASH_VERSION_MAJOR . '.' . $CDASH_VERSION_MINOR . '.' . $CDASH_VERSION_PATCH;

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "CDash",
3-
"version": "2.5.0",
3+
"version": "2.6.0",
44
"description": "Continuous integration dashboard.",
55
"repository": "https://github.com/Kitware/CDash",
66
"license": "BSD-3-Clause",

public/js/cdashUpgrade.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ function upgrade_tables()
8383
{
8484
nextstep = upgrade_2_6;
8585
}
86+
else if(version < 2.8)
87+
{
88+
nextstep = upgrade_2_8;
89+
}
8690

8791
if(nextstep != '')
8892
{
@@ -166,6 +170,13 @@ function upgrade_2_6()
166170
sendAjax("#Upgrade-2-6-Status","upgrade.php?upgrade-2-6=1",text,done);
167171
}
168172

173+
function upgrade_2_8()
174+
{
175+
var text = "Applying 2.8 patches";
176+
$("#Upgrade-2-8-Status").html("<img src=\"img/loading.gif\"/> "+text+"...");
177+
sendAjax("#Upgrade-2-8-Status","upgrade.php?upgrade-2-8=1",text,done);
178+
}
179+
169180

170181
// empty function needed
171182
function done()

public/upgrade.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -827,6 +827,16 @@
827827
return;
828828
}
829829

830+
// 2.8 Upgrade
831+
if (isset($_GET['upgrade-2-8'])) {
832+
// Set the database version
833+
setVersion();
834+
835+
// Put that the upgrade is done in the log
836+
add_log('Upgrade done.', 'upgrade-2-8');
837+
return;
838+
}
839+
830840
// When adding new tables they should be added to the SQL installation file
831841
// and here as well
832842
if ($Upgrade) {

public/upgrade.xsl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@
9797
<div id="Upgrade-2-2-Status"></div>
9898
<div id="Upgrade-2-4-Status"></div>
9999
<div id="Upgrade-2-6-Status"></div>
100+
<div id="Upgrade-2-8-Status"></div>
100101
<br/>
101102
<div id="DoneStatus"></div>
102103
<br/>

0 commit comments

Comments
 (0)