Add Versioning Info to README

This commit is contained in:
Mitchell Krog 2019-06-29 17:21:45 +02:00
parent 20f1137b41
commit 78ff0112a6
No known key found for this signature in database
GPG key ID: C243C388553EDE5D
6 changed files with 58 additions and 1 deletions

View file

@ -206,6 +206,10 @@ echo "${bold}${magenta}------------------------------"
sudo cp ${TRAVIS_BUILD_DIR}/.dev-tools/test_units/nginx.conf-newformat /etc/nginx/nginx.conf
}
getnginxversion () {
sudo nginx -v &> ${TRAVIS_BUILD_DIR}/.dev-tools/nginxv1.txt
}
# ------------------
# Start Installation
# ------------------
@ -236,6 +240,7 @@ waitforReload
activateLatestBlacklist
reloadNginX
backupConfFiles
getnginxversion
# ----------------------
# Exit With Error Number