Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Peccatte <hugues.peccatte@gmail.com>2014-10-08 23:49:37 +0400
committerHugues Peccatte <hugues.peccatte@gmail.com>2014-10-08 23:49:37 +0400
commit70a21ec25cd8ab9abbda5f47c424440a6a43d399 (patch)
treea043474ab6ffe34fc5010bc5fd803236bf95140c /scripts
parent9ca79b379de130dcdbdd531855d5e8cef2ba5f05 (diff)
parent5f8d081411080493c61f53cf529850cddae139b4 (diff)
Merge from master.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/advisor2po4
-rwxr-xr-xscripts/create-release.sh23
2 files changed, 12 insertions, 15 deletions
diff --git a/scripts/advisor2po b/scripts/advisor2po
index 7c0e1805e0..26dc8483c1 100644
--- a/scripts/advisor2po
+++ b/scripts/advisor2po
@@ -53,6 +53,10 @@ define('PHPMYADMIN', 1);
if (!file_exists('./libraries/Advisor.class.php')) {
chdir('..');
}
+include './libraries/String.class.php';
+
+$GLOBALS['PMA_String'] = new PMA_String();
+
include './libraries/Advisor.class.php';
$rules = Advisor::parseRulesFile();
diff --git a/scripts/create-release.sh b/scripts/create-release.sh
index 494aed7cdb..4cd225fb27 100755
--- a/scripts/create-release.sh
+++ b/scripts/create-release.sh
@@ -17,13 +17,14 @@ COMPRESSIONS="zip-7z tbz txz tgz 7z"
if [ $# -lt 2 ]
then
echo "Usages:"
- echo " create-release.sh <version> <from_branch> [--tag]"
+ echo " create-release.sh <version> <from_branch> [--tag] [--stable]"
echo ""
echo "If --tag is specified, release tag is automatically created"
+ echo "If --stable is specified, the STABLE branch is updated with this release"
echo ""
echo "Examples:"
echo " create-release.sh 2.9.0-rc1 QA_2_9"
- echo " create-release.sh 2.9.0 MAINT_2_9_0 --tag"
+ echo " create-release.sh 2.9.0 MAINT_2_9_0 --tag --stable"
exit 65
fi
@@ -254,20 +255,12 @@ if [ $# -gt 0 ] ; then
tagname=RELEASE_`echo $version | tr . _ | tr '[:lower:]' '[:upper:]' | tr -d -`
echo "* Tagging release as $tagname"
git tag -a -m "Released $version" $tagname $branch
- if echo $version | grep -q '^2\.11\.' ; then
- echo '* 2.11 branch, no STABLE update'
- elif echo $version | grep -q '^3\.3\.' ; then
- echo '* 3.3 branch, no STABLE update'
- elif echo $version | grep -q '^3\.4\.' ; then
- echo '* 3.4 branch, no STABLE update'
- elif echo $version | grep '[\-]' ; then
- echo '* no STABLE update'
- else
- mark_as_release $branch STABLE
- git checkout master
- fi
echo " Dont forget to push tags using: git push --tags"
;;
+ --stable)
+ mark_as_release $branch STABLE
+ git checkout master
+ ;;
*)
echo "Unknown parameter: $1!"
exit 1
@@ -285,7 +278,7 @@ Todo now:
1. If not already done, tag the repository with the new revision number
for a plain release or a release candidate:
- version 2.7.0 gets two tags: RELEASE_2_7_0 and STABLE
+ version 2.7.0 gets RELEASE_2_7_0
version 2.7.1-rc1 gets RELEASE_2_7_1RC1
2. prepare a release/phpMyAdmin-$version-notes.html explaining in short the goal of