Created
June 1, 2020 17:17
-
-
Save josefglatz/007dfe4c1976430cdc2aebd5725bde42 to your computer and use it in GitHub Desktop.
Get TYPO3 version from TYPO3 CLI binary
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
# show version and applicationContext | |
./web/bin/typo3 | head -1 | |
# Extract version only | |
./bin/typo3 | head -1 | grep -P '[0-9]+(\.[0-9]+)?([^\s]+)' -o |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment