diff --git a/build/bump.php b/build/bump.php
index 4377e10cc..76b225124 100644
--- a/build/bump.php
+++ b/build/bump.php
@@ -194,7 +194,7 @@ function usage($command)
$fileContents = file_get_contents($rootPath . $languageXmlFile);
$fileContents = preg_replace('#[^<]*#', '' . $version['full'] . '', $fileContents);
$fileContents = preg_replace('#[^<]*#', '' . $version['credate'] . '', $fileContents);
- $fileContents = preg_replace('#(.*)<\/span>#', '' . $version['main'] . '', $fileContents);
+ $fileContents = preg_replace('#(.*)<\/span>#', '' . $version['main'] . '', $fileContents);
file_put_contents($rootPath . $languageXmlFile, $fileContents);
}
}
@@ -205,7 +205,7 @@ function usage($command)
$fileContents = file_get_contents($rootPath . $installerXmlFile);
$fileContents = preg_replace('#[^<]*#', '' . $version['install_version'] . '', $fileContents);
$fileContents = preg_replace('#[^<]*#', '' . $version['install_credate'] . '', $fileContents);
- $fileContents = preg_replace('#(.*)<\/span>#', '' . $version['main'] . '', $fileContents);
+ $fileContents = preg_replace('#(.*)<\/span>#', '' . $version['main'] . '', $fileContents);
file_put_contents($rootPath . $installerXmlFile, $fileContents);
}