Skip to content

Commit 2d70d58

Browse files
committed
Upgrade phpDocumentor
1 parent 155e238 commit 2d70d58

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

dev-bin/release.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,13 @@ if [ -n "$(git status --porcelain)" ]; then
9393
fi
9494

9595
# Using Composer is possible, but they don't recommend it.
96-
wget -O phpDocumentor.phar https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.1.2/phpDocumentor.phar
96+
phpdocumentor_phar_hash='4a93d278fd4581f17760903134d85fcde3d40d93f739c8c648f3ed02c9c3e7bb phpDocumentor.phar'
97+
98+
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
100+
fi
101+
102+
echo "$phpdocumentor_phar_hash" | sha256sum -c
97103

98104
# Use cache dir in /tmp as otherwise cache files get into the output directory.
99105
cachedir="/tmp/phpdoc-$$-$RANDOM"

0 commit comments

Comments
 (0)