version 1.1.1.2, 2012/05/29 12:34:34
|
version 1.1.1.3, 2013/07/22 01:31:37
|
Line 4
|
Line 4
|
# |
# |
# Usage: makedist version |
# Usage: makedist version |
# Example: makedist 5.4.1 |
# 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. |
# To work, this script needs a consistent tagging of all releases. |
# Each release of a package should have a tag of the form |
# 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 |
# The distribution ends up in a .tar.gz file that contains the distribution |
# in a directory called php-<version>. |
# in a directory called php-<version>. |
Line 63 if test -d "$DIRPATH"; then
|
Line 63 if test -d "$DIRPATH"; then
|
fi |
fi |
|
|
# Export PHP |
# Export PHP |
$ECHO_N "makedist: exporting tag 'PHP-$VER' from '$PHPROOT'...$ECHO_C" | $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 | git archive --format=tar --remote=$PHPROOT refs/tags/php-$VER --prefix=php-$VER/ | (cd $MY_OLDPWD; tar xvf -) || exit 4 |
echo "" |
echo "" |
|
|
cd $DIR || exit 5 |
cd $DIR || exit 5 |
|
|
# The full ChangeLog is available separately from lxr.php.net |
|
rm -f ChangeLog* |
|
|
|
# hide away our own versions of libtool-generated files |
# hide away our own versions of libtool-generated files |
for i in $LT_TARGETS; do |
for i in $LT_TARGETS; do |