Merge branch 'QA_5_1'
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
commit
d4cc4164b9
@ -240,6 +240,7 @@ ensure_local_branch $branch
|
||||
|
||||
VERSION_FILE=libraries/classes/Version.php
|
||||
|
||||
# Keep in sync with update-po script
|
||||
fetchReleaseFromFile() {
|
||||
php -r "define('VERSION_SUFFIX', ''); require_once('libraries/classes/Version.php'); echo \PhpMyAdmin\Version::VERSION;"
|
||||
}
|
||||
|
||||
@ -57,7 +57,7 @@ echo "Changing from ${oldVersion} to ${newVersion}..."
|
||||
oldVersion=${oldVersion//./\.}
|
||||
newVersion=${newVersion//./\.}
|
||||
|
||||
for f in README doc/conf.py libraries/classes/Config.php package.json
|
||||
for f in README doc/conf.py package.json
|
||||
do
|
||||
if ! grep --quiet "${oldVersion}" "${dir}${f}"
|
||||
then
|
||||
@ -71,4 +71,5 @@ done
|
||||
|
||||
echo
|
||||
echo "Next, you need to manually edit ChangeLog to manually change the version number and set the release date, and verify the changes with 'git diff'."
|
||||
echo "Suggested commit message: Prepare for version ${newVersion}"
|
||||
echo "You will probably want to call: \"./scripts/console set-version ${newVersion}\" afterwards"
|
||||
echo "Suggested commit message: Prepare for version ${newVersion}"
|
||||
|
||||
@ -43,7 +43,12 @@ php scripts/fix-po-twig
|
||||
# Remote twig templates
|
||||
rm -rf twig-templates/
|
||||
|
||||
ver=`sed -n "/PMA_VERSION', '/ s/.*PMA_VERSION', '\(.*\)'.*/\1/p" libraries/classes/Config.php`
|
||||
# Keep in sync with create-release.sh
|
||||
fetchReleaseFromFile() {
|
||||
php -r "define('VERSION_SUFFIX', ''); require_once('libraries/classes/Version.php'); echo \PhpMyAdmin\Version::VERSION;"
|
||||
}
|
||||
|
||||
ver="$(fetchReleaseFromFile)"
|
||||
|
||||
sed -i.~ '
|
||||
s/SOME DESCRIPTIVE TITLE/phpMyAdmin translation/;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user