mirror of
https://github.com/GSA/notifications-api.git
synced 2026-06-06 22:38:26 -04:00
version file has been updated to include a travis commit and time of build.
This commit is contained in:
6
scripts/update_version_file.sh
Executable file
6
scripts/update_version_file.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Update the version file of the project from the Travis build details
|
||||
#
|
||||
sed -i -e "s/__build__ =.*/__build__ = \"$TRAVIS_COMMIT\"/g" ./app/version.py
|
||||
sed -i -e "s/__time__ =.*/__time__ = \"$('date +%Y-%m-%d:%H:%M:%S')\"/g" ./app/version.py
|
||||
Reference in New Issue
Block a user