Skip to content

Commit

Permalink
fix makedist for new tags
Browse files Browse the repository at this point in the history
  • Loading branch information
smalyshev committed Mar 30, 2012
1 parent c02aa08 commit 82f166f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions makedist
Original file line number Diff line number Diff line change
Expand Up @@ -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>.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 82f166f

Please sign in to comment.