Fixed up the health check page

This commit is contained in:
Martyn Inglis
2016-03-03 16:41:21 +00:00
parent 0fd2572b08
commit 76ccb99666
5 changed files with 25 additions and 38 deletions

7
scripts/update_version_file.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
#
# Update the version file of the project from the Travis build details
#
sed -i -e "s/__travis_commit__ =.*/__travis_commit__ = \"$TRAVIS_COMMIT\"/g" ./app/version.py
sed -i -e "s/__travis_job_number__ =.*/__travis_job_number__ = \"$TRAVIS_BUILD_NUMBER\"/g" ./app/version.py
sed -i -e "s/__time__ =.*/__time__ = \"$(date +%Y-%m-%d:%H:%M:%S)\"/g" ./app/version.py