From e222ce766ad6125ba5f3e4f9e6e8a0ce805dd0ee Mon Sep 17 00:00:00 2001 From: plaa Date: Thu, 24 Nov 2011 19:34:12 +0000 Subject: [PATCH] version to 1.1.10pre git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@211 180e2498-e6e9-4542-8430-84ac67f01cd8 --- build.properties | 2 +- web/html/actions/updates.php | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/build.properties b/build.properties index 9a2cca35..1f59e9ca 100644 --- a/build.properties +++ b/build.properties @@ -1,7 +1,7 @@ # The OpenRocket build version -build.version=1.1.9 +build.version=1.1.10pre # The source of the package. When building a package for a specific diff --git a/web/html/actions/updates.php b/web/html/actions/updates.php index 6eb20b6c..345b1766 100644 --- a/web/html/actions/updates.php +++ b/web/html/actions/updates.php @@ -83,25 +83,25 @@ $updates = ""; $unstable = "1.1.9"; $stable = "1.0.0"; -if (preg_match("/^1\.1\.8/", $version)) { +if (preg_match("/^1\.1\.8$/", $version)) { $updates = "Version: " . $unstable . "\n" . "6: Additional template printing\n" . "5: Geodetic computations\n" . "4: Bug fixes\n" . ""; -} else if (preg_match("/^1\.1\.7/", $version)) { +} else if (preg_match("/^1\.1\.7$/", $version)) { $updates = "Version: " . $unstable . "\n" . "6: Additional template printing\n" . "5: Geodetic computations\n" . "4: Bug fixes\n" . ""; -} else if (preg_match("/^1\.1\.6/", $version)) { +} else if (preg_match("/^1\.1\.6$/", $version)) { $updates = "Version: " . $unstable . "\n" . "8: Automatic rocket design optimization\n" . "6: Additional template printing\n" . "5: Geodetic computations\n" . ""; -} else if (preg_match("/^1\.1\.5/", $version)) { +} else if (preg_match("/^1\.1\.5$/", $version)) { $updates = "Version: " . $unstable . "\n" . "8: Automatic rocket design optimization\n" . "6: Initial localization support\n" . @@ -110,14 +110,14 @@ if (preg_match("/^1\.1\.8/", $version)) { "5: Scaling support\n" . "4: Bug fixes\n" . ""; -} else if (preg_match("/^1\.1\.4/", $version)) { +} else if (preg_match("/^1\.1\.4$/", $version)) { $updates = "Version: " . $unstable . "\n" . "8: Automatic rocket design optimization\n" . "6: Initial localization support\n" . "5: Fixes to printing system\n" . "5: Scaling support\n" . ""; -} else if (preg_match("/^1\.1\.3/", $version)) { +} else if (preg_match("/^1\.1\.3$/", $version)) { $updates = "Version: " . $unstable . "\n" . "8: Automatic rocket design optimization\n" . "7: Initial printing support\n" . @@ -125,7 +125,7 @@ if (preg_match("/^1\.1\.8/", $version)) { "5: Scaling support\n" . "4: Bug fixes\n" . ""; -} else if (preg_match("/^1\.1\.[12]/", $version)) { +} else if (preg_match("/^1\.1\.[12]$/", $version)) { $updates = "Version: " . $unstable . "\n" . "8: Automatic rocket design optimization\n" . "6: Initial printing support\n" . @@ -134,7 +134,7 @@ if (preg_match("/^1\.1\.8/", $version)) { "5: Scaling support\n" . "4: Bug fixes\n" . ""; -} else if (preg_match("/^1\.1\.0/", $version)) { +} else if (preg_match("/^1\.1\.0$/", $version)) { $updates = "Version: " . $unstable . "\n" . "8: Automatic rocket design optimization\n" . "6: Initial printing support\n" . -- 2.30.2