mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-23 08:51:30 -05:00
- include travis build number - renamed properties - ELB version - moved code all into health check - changed health check to be on same URL for admin and api
7 lines
356 B
Bash
Executable File
7 lines
356 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Update the version file of the project from the Travis build details
|
|
#
|
|
sed -i -e "s/__travis_commit__ =.*/__build__ = \"$TRAVIS_COMMIT\"/g" ./app/version.py
|
|
sed -i -e "s/__travis_job_number__ =.*/__build__ = \"$TRAVIS_BUILD_NUMBER\"/g" ./app/version.py
|
|
sed -i -e "s/__time__ =.*/__time__ = \"$(date +%Y-%m-%d:%H:%M:%S)\"/g" ./app/version.py |