Skip to content

Commit

Permalink
Merge pull request #2482 from heelc29/patch-indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tecpromotion authored Jun 11, 2022
2 parents 9806cd4 + 8e43659 commit 9c5a0f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/bump.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ function usage($command)
$fileContents = file_get_contents($rootPath . $languageXmlFile);
$fileContents = preg_replace('#<version>[^<]*</version>#', '<version>' . $version['full'] . '</version>', $fileContents);
$fileContents = preg_replace('#<creationDate>[^<]*</creationDate>#', '<creationDate>' . $version['credate'] . '</creationDate>', $fileContents);
$fileContents = preg_replace('#<span class=\"jgerman-version\">(.*)<\/span>#', '<span class="jgerman-version">' . $version['main'] . '</span>', $fileContents);
$fileContents = preg_replace('#<span class=\"jgerman-version\">(.*)<\/span>#', '<span class="jgerman-version">' . $version['main'] . '</span>', $fileContents);
file_put_contents($rootPath . $languageXmlFile, $fileContents);
}
}
Expand All @@ -205,7 +205,7 @@ function usage($command)
$fileContents = file_get_contents($rootPath . $installerXmlFile);
$fileContents = preg_replace('#<version>[^<]*</version>#', '<version>' . $version['install_version'] . '</version>', $fileContents);
$fileContents = preg_replace('#<creationDate>[^<]*</creationDate>#', '<creationDate>' . $version['install_credate'] . '</creationDate>', $fileContents);
$fileContents = preg_replace('#<span class=\"jgerman-version\">(.*)<\/span>#', '<span class="jgerman-version">' . $version['main'] . '</span>', $fileContents);
$fileContents = preg_replace('#<span class=\"jgerman-version\">(.*)<\/span>#', '<span class="jgerman-version">' . $version['main'] . '</span>', $fileContents);
file_put_contents($rootPath . $installerXmlFile, $fileContents);
}

Expand Down

0 comments on commit 9c5a0f8

Please sign in to comment.