Skip to content

Commit 82f166f

Browse files
committed
fix makedist for new tags
1 parent c02aa08 commit 82f166f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

makedist

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
#
55
# Usage: makedist version
66
# Example: makedist 5.4.1
7-
# Example: makedist 5.3.5-RC1
7+
# Example: makedist 5.3.5RC1
88
#
99
# To work, this script needs a consistent tagging of all releases.
1010
# Each release of a package should have a tag of the form
1111
#
12-
# PHP-X.Y.Z[-sub]
12+
# php-X.Y.Z[sub]
1313
#
1414
# The distribution ends up in a .tar.gz file that contains the distribution
1515
# in a directory called php-<version>.
@@ -63,8 +63,8 @@ if test -d "$DIRPATH"; then
6363
fi
6464

6565
# Export PHP
66-
$ECHO_N "makedist: exporting tag 'PHP-$VER' from '$PHPROOT'...$ECHO_C"
67-
git archive --format=tar --remote=$PHPROOT refs/tags/PHP-$VER --prefix=php-$VER/ | (cd $MY_OLDPWD; tar xvf -) || exit 4
66+
$ECHO_N "makedist: exporting tag 'php-$VER' from '$PHPROOT'...$ECHO_C"
67+
git archive --format=tar --remote=$PHPROOT refs/tags/php-$VER --prefix=php-$VER/ | (cd $MY_OLDPWD; tar xvf -) || exit 4
6868
echo ""
6969

7070
cd $DIR || exit 5

0 commit comments

Comments
 (0)