-
Notifications
You must be signed in to change notification settings - Fork 974
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8f8cdfb
commit 11264c6
Showing
3 changed files
with
28 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,22 @@ | ||
#!/usr/bin/env bash | ||
|
||
curl -O http://get.sensiolabs.org/sami.phar | ||
php sami.phar update --force -v util/docsConfig.php | ||
set -e | ||
|
||
# Clean the files just in case | ||
rm -f doctum.phar | ||
rm -f doctum.phar.sha256 | ||
|
||
# Download the latest (5.1.x) release | ||
curl -O https://doctum.long-term.support/releases/5.1/doctum.phar | ||
curl -O https://doctum.long-term.support/releases/5.1/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 | ||
|
||
# Show the version to inform users of the script | ||
php doctum.phar --version | ||
|
||
# Only exit if the process fails, not if parse errors are found | ||
php doctum.phar update --force --ignore-parse-errors -v util/docsConfig.php |