set version to 0.10.0-rc1 for upcoming release candidate
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -680,8 +680,8 @@ opcache.interned_strings_buffer'),
|
||||
('panel', 'password_special_char', '!?<>§$%+#=@'),
|
||||
('panel', 'customer_hide_options', ''),
|
||||
('panel', 'is_configured', '0'),
|
||||
('panel', 'version', '0.10.0'),
|
||||
('panel', 'db_version', '201902210');
|
||||
('panel', 'version', '0.10.0-rc1'),
|
||||
('panel', 'db_version', '201904100');
|
||||
|
||||
|
||||
DROP TABLE IF EXISTS `panel_tasks`;
|
||||
|
||||
@@ -24,7 +24,7 @@ if (! defined('_CRON_UPDATE')) {
|
||||
}
|
||||
|
||||
if (\Froxlor\Froxlor::isFroxlorVersion('0.9.40.1')) {
|
||||
showUpdateStep("Updating from 0.9.40.1 to 0.10.0", false);
|
||||
showUpdateStep("Updating from 0.9.40.1 to 0.10.0-rc1", false);
|
||||
|
||||
showUpdateStep("Adding new api keys table");
|
||||
Database::query("DROP TABLE IF EXISTS `api_keys`;");
|
||||
@@ -68,7 +68,7 @@ if (\Froxlor\Froxlor::isFroxlorVersion('0.9.40.1')) {
|
||||
}
|
||||
lastStepStatus(0);
|
||||
|
||||
\Froxlor\Froxlor::updateToVersion('0.10.0');
|
||||
\Froxlor\Froxlor::updateToVersion('0.10.0-rc1');
|
||||
}
|
||||
|
||||
if (\Froxlor\Froxlor::isDatabaseVersion('201809280')) {
|
||||
@@ -233,3 +233,10 @@ if (\Froxlor\Froxlor::isDatabaseVersion('201902170')) {
|
||||
|
||||
\Froxlor\Froxlor::updateToDbVersion('201902210');
|
||||
}
|
||||
|
||||
if (\Froxlor\Froxlor::isDatabaseVersion('201902210')) {
|
||||
|
||||
// set correct version for people that have tested 0.10.0 before
|
||||
\Froxlor\Froxlor::updateToVersion('0.10.0-rc1');
|
||||
\Froxlor\Froxlor::updateToDbVersion('201904100');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user