git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@211
180e2498-e6e9-4542-8430-
84ac67f01cd8
# The OpenRocket build version
# The OpenRocket build version
# The source of the package. When building a package for a specific
# The source of the package. When building a package for a specific
$unstable = "1.1.9";
$stable = "1.0.0";
$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" .
"";
$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" .
"";
$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" .
"";
$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" .
$updates = "Version: " . $unstable . "\n" .
"8: Automatic rocket design optimization\n" .
"6: Initial localization support\n" .
"5: Scaling support\n" .
"4: Bug fixes\n" .
"";
"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" .
"";
$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" .
$updates = "Version: " . $unstable . "\n" .
"8: Automatic rocket design optimization\n" .
"7: Initial printing support\n" .
"5: Scaling support\n" .
"4: Bug fixes\n" .
"";
"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" .
$updates = "Version: " . $unstable . "\n" .
"8: Automatic rocket design optimization\n" .
"6: Initial printing support\n" .
"5: Scaling support\n" .
"4: Bug fixes\n" .
"";
"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" .
$updates = "Version: " . $unstable . "\n" .
"8: Automatic rocket design optimization\n" .
"6: Initial printing support\n" .