mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/16754] Update Doctum to 5.4.1
PHPBB3-16754
This commit is contained in:
parent
bd1033be68
commit
8c334f0c10
4 changed files with 18 additions and 16 deletions
15
.github/check-doctum-parse-errors.sh
vendored
15
.github/check-doctum-parse-errors.sh
vendored
|
@ -11,16 +11,17 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
if [ ! -f doctum.phar ]; 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
|
# 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
|
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
|
sha256sum --strict --check doctum.phar.sha256
|
||||||
rm -f doctum.phar.sha256
|
rm -f doctum.phar.sha256
|
||||||
# You can fetch the latest (5.1.x) version code here:
|
chmod +x ./doctum.phar
|
||||||
# https://doctum.long-term.support/releases/5.1/VERSION
|
# You can fetch the latest (5.x.x) version code here:
|
||||||
|
# https://doctum.long-term.support/releases/5/VERSION
|
||||||
fi
|
fi
|
||||||
# Show the version to inform users of the script
|
# Show the version to inform users of the script
|
||||||
php doctum.phar --version
|
./doctum.phar version --text
|
||||||
php doctum.phar parse build/doctum-checkout.conf.php -v
|
./doctum.phar parse build/doctum-checkout.conf.php -v
|
||||||
|
|
|
@ -128,13 +128,13 @@
|
||||||
<!-- Builds docs for current branch into build/api/output/master -->
|
<!-- Builds docs for current branch into build/api/output/master -->
|
||||||
<target name="docs">
|
<target name="docs">
|
||||||
<exec dir="."
|
<exec dir="."
|
||||||
command="php doctum.phar update build/doctum-checkout.conf.php"
|
command="./doctum.phar update build/doctum-checkout.conf.php"
|
||||||
passthru="true" />
|
passthru="true" />
|
||||||
</target>
|
</target>
|
||||||
<!-- Builds docs for multiple branches/tags into build/api/output/$branch -->
|
<!-- Builds docs for multiple branches/tags into build/api/output/$branch -->
|
||||||
<target name="docs-all">
|
<target name="docs-all">
|
||||||
<exec dir="."
|
<exec dir="."
|
||||||
command="php doctum.phar update build/doctum-all.conf.php"
|
command="./doctum.phar update build/doctum-all.conf.php"
|
||||||
passthru="true" />
|
passthru="true" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
BIN
doctum.phar
Normal file → Executable file
BIN
doctum.phar
Normal file → Executable file
Binary file not shown.
|
@ -17,17 +17,18 @@ NOTESTS=$3
|
||||||
if [ "$NOTESTS" == '1' ]
|
if [ "$NOTESTS" == '1' ]
|
||||||
then
|
then
|
||||||
if [ ! -f doctum.phar ]; 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
|
# 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
|
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
|
sha256sum --strict --check doctum.phar.sha256
|
||||||
rm -f doctum.phar.sha256
|
rm -f doctum.phar.sha256
|
||||||
# You can fetch the latest (5.1.x) version code here:
|
chmod +x ./doctum.phar
|
||||||
# https://doctum.long-term.support/releases/5.1/VERSION
|
# You can fetch the latest (5.x.x) version code here:
|
||||||
|
# https://doctum.long-term.support/releases/5/VERSION
|
||||||
fi
|
fi
|
||||||
# Show the version to inform users of the script
|
# Show the version to inform users of the script
|
||||||
php doctum.phar --version
|
./doctum.phar version --text
|
||||||
php doctum.phar parse build/doctum-checkout.conf.php -v
|
./doctum.phar parse build/doctum-checkout.conf.php -v
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue