Skip to content

Commit cd63216

Browse files
committed
Update box and phpDocumentor
1 parent e91890b commit cd63216

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

dev-bin/release.sh

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ php composer.phar update --no-dev
4545
perl -pi -e "s/(?<=const VERSION = ').+?(?=';)/$tag/g" src/WebService/Client.php
4646

4747

48-
box_phar_hash='d862951a7acca5641bdd3d3e289e675f3c46810c7994aebfe0c9188a80f6cac1 box.phar'
48+
box_phar_hash='c24c400c424a68041d7af146c71943bf1acc0c5abafa45297c503b832b9c6b16 box.phar'
4949

5050
if ! echo "$box_phar_hash" | sha256sum -c; then
51-
wget -O box.phar "https://github.com/box-project/box/releases/download/4.0.1/box.phar"
51+
wget -O box.phar "https://github.com/box-project/box/releases/download/4.5.1/box.phar"
5252
fi
5353

5454
echo "$box_phar_hash" | sha256sum -c
@@ -93,10 +93,10 @@ if [ -n "$(git status --porcelain)" ]; then
9393
fi
9494

9595
# Using Composer is possible, but they don't recommend it.
96-
phpdocumentor_phar_hash='4a93d278fd4581f17760903134d85fcde3d40d93f739c8c648f3ed02c9c3e7bb phpDocumentor.phar'
96+
phpdocumentor_phar_hash='bad7e4b8c99e73391bb3183a127593ecd1cd66ae42b4a33efe495d193e257f04 phpDocumentor.phar'
9797

9898
if ! echo "$phpdocumentor_phar_hash" | sha256sum -c; then
99-
wget -O phpDocumentor.phar https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.3.1/phpDocumentor.phar
99+
wget -O phpDocumentor.phar https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.4.3/phpDocumentor.phar
100100
fi
101101

102102
echo "$phpdocumentor_phar_hash" | sha256sum -c
@@ -106,12 +106,16 @@ cachedir="/tmp/phpdoc-$$-$RANDOM"
106106
rm -rf "$cachedir"
107107

108108
php phpDocumentor.phar \
109+
--visibility=public \
110+
--cache-folder="$cachedir" \
111+
--title="GeoIP2 PHP API $tag" \
112+
run \
109113
-d "$PWD/../src" \
110-
-d "$PWD/.maxminddb/src" \
111-
--visibility public \
112-
--cache-folder "$cachedir" \
113-
--title "GeoIP2 PHP API $tag" \
114114
-t "doc/$tag"
115+
# This used to work but doesn't as of 4.5.1. They say that they are working
116+
# on fixing it. Neither the config file nor the relative path fix work as
117+
# suggested either.
118+
# -d "$PWD/.maxminddb/src" \
115119

116120
rm -rf "$cachedir"
117121

0 commit comments

Comments
 (0)