summaryrefslogtreecommitdiff
path: root/makedist
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2012-03-30 07:01:29 (GMT)
committerStanislav Malyshev <stas@php.net>2012-03-30 07:01:52 (GMT)
commit82f166fa73f4f460c3a7bb6b9ba184e7136ed424 (patch)
treefd65a2a194ba8ccb17adb0a3dc03e65398031928 /makedist
parentc02aa086c6d075e765d75476b05fa3df3da68c13 (diff)
downloadphp-82f166fa73f4f460c3a7bb6b9ba184e7136ed424.tar.gz
fix makedist for new tags
Diffstat (limited to 'makedist')
-rwxr-xr-xmakedist8
1 files changed, 4 insertions, 4 deletions
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