com php-src: fix makedist for new tags: makedist
| From: | Stanislav Malyshev | Date: | Fri, 30 Mar 2012 07:01:29 +0000 |
| Subject: | com php-src: fix makedist for new tags: makedist | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-68611@lists.php.net to get a copy of this message | ||
Commit: 82f166fa73f4f460c3a7bb6b9ba184e7136ed424
Author: Stanislav Malyshev <stas@php.net> Fri, 30 Mar 2012 00:01:29 -0700
Parents: c02aa086c6d075e765d75476b05fa3df3da68c13
Branches: PHP-5.4
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=82f166fa73f4f460c3a7bb6b9ba184e7136ed424
Log:
fix makedist for new tags
Changed paths:
M makedist
Diff:
82f166fa73f4f460c3a7bb6b9ba184e7136ed424
diff --git a/makedist b/makedist
index 992e8a1..4d704cf 100755
--- a/makedist
+++ b/makedist
@@ -4,12 +4,12 @@
#
# Usage: makedist version
# Example: makedist 5.4.1
-# Example: makedist 5.3.5-RC1
+# Example: makedist 5.3.5RC1
#
# To work, this script needs a consistent tagging of all releases.
# Each release of a package should have a tag of the form
#
-# PHP-X.Y.Z[-sub]
+# php-X.Y.Z[sub]
#
# The distribution ends up in a .tar.gz file that contains the distribution
# in a directory called php-<version>.
@@ -63,8 +63,8 @@ if test -d "$DIRPATH"; then
fi
# Export PHP
-$ECHO_N "makedist: exporting tag 'PHP-$VER' from
'$PHPROOT'...$ECHO_C"
-git archive --format=tar --remote=$PHPROOT refs/tags/PHP-$VER --prefix=php-$VER/ | (cd $MY_OLDPWD;
tar xvf -) || exit 4
+$ECHO_N "makedist: exporting tag 'php-$VER' from
'$PHPROOT'...$ECHO_C"
+git archive --format=tar --remote=$PHPROOT refs/tags/php-$VER --prefix=php-$VER/ | (cd $MY_OLDPWD;
tar xvf -) || exit 4
echo ""
cd $DIR || exit 5