We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 155e238 commit 2d70d58Copy full SHA for 2d70d58
1 file changed
dev-bin/release.sh
@@ -93,7 +93,13 @@ if [ -n "$(git status --porcelain)" ]; then
93
fi
94
95
# 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
+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
103
104
# Use cache dir in /tmp as otherwise cache files get into the output directory.
105
cachedir="/tmp/phpdoc-$$-$RANDOM"
0 commit comments