1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-29 18:50:25 +02:00

[ticket/16754] Update Doctum to 5.4.1

PHPBB3-16754
This commit is contained in:
William Desportes 2021-04-22 02:01:36 +02:00
parent bd1033be68
commit 8c334f0c10
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889
4 changed files with 18 additions and 16 deletions

View File

@ -11,16 +11,17 @@
set -e
if [ ! -f doctum.phar ]; then
# Download the latest (5.1.x) release if the file does not exist
# Download the latest (5.x.x) release if the file does not exist
# Remove it to update your phar
curl -O https://doctum.long-term.support/releases/5.1/doctum.phar
curl -O https://doctum.long-term.support/releases/5/doctum.phar
rm -f doctum.phar.sha256
curl -O https://doctum.long-term.support/releases/5.1/doctum.phar.sha256
curl -O https://doctum.long-term.support/releases/5/doctum.phar.sha256
sha256sum --strict --check doctum.phar.sha256
rm -f doctum.phar.sha256
# You can fetch the latest (5.1.x) version code here:
# https://doctum.long-term.support/releases/5.1/VERSION
chmod +x ./doctum.phar
# You can fetch the latest (5.x.x) version code here:
# https://doctum.long-term.support/releases/5/VERSION
fi
# Show the version to inform users of the script
php doctum.phar --version
php doctum.phar parse build/doctum-checkout.conf.php -v
./doctum.phar version --text
./doctum.phar parse build/doctum-checkout.conf.php -v

View File

@ -128,13 +128,13 @@
<!-- Builds docs for current branch into build/api/output/master -->
<target name="docs">
<exec dir="."
command="php doctum.phar update build/doctum-checkout.conf.php"
command="./doctum.phar update build/doctum-checkout.conf.php"
passthru="true" />
</target>
<!-- Builds docs for multiple branches/tags into build/api/output/$branch -->
<target name="docs-all">
<exec dir="."
command="php doctum.phar update build/doctum-all.conf.php"
command="./doctum.phar update build/doctum-all.conf.php"
passthru="true" />
</target>

BIN
doctum.phar Normal file → Executable file

Binary file not shown.

View File

@ -17,17 +17,18 @@ NOTESTS=$3
if [ "$NOTESTS" == '1' ]
then
if [ ! -f doctum.phar ]; then
# Download the latest (5.1.x) release if the file does not exist
# Download the latest (5.x.x) release if the file does not exist
# Remove it to update your phar
curl -O https://doctum.long-term.support/releases/5.1/doctum.phar
curl -O https://doctum.long-term.support/releases/5/doctum.phar
rm -f doctum.phar.sha256
curl -O https://doctum.long-term.support/releases/5.1/doctum.phar.sha256
curl -O https://doctum.long-term.support/releases/5/doctum.phar.sha256
sha256sum --strict --check doctum.phar.sha256
rm -f doctum.phar.sha256
# You can fetch the latest (5.1.x) version code here:
# https://doctum.long-term.support/releases/5.1/VERSION
chmod +x ./doctum.phar
# You can fetch the latest (5.x.x) version code here:
# https://doctum.long-term.support/releases/5/VERSION
fi
# Show the version to inform users of the script
php doctum.phar --version
php doctum.phar parse build/doctum-checkout.conf.php -v
./doctum.phar version --text
./doctum.phar parse build/doctum-checkout.conf.php -v
fi