summaryrefslogtreecommitdiff
path: root/web-ui
diff options
context:
space:
mode:
authorZara Gebru <zgebru@thoughtworks.com>2016-04-28 20:37:39 +0200
committerZara Gebru <zgebru@thoughtworks.com>2016-04-28 20:37:39 +0200
commit373fbde99b66add1875426983238d5e4a9d46b08 (patch)
tree3dda74f329b9b8ddc83ee0fa38ec9123a7a5983b /web-ui
parent5e123048b6449621bcfd87f1a4c78a712e464d43 (diff)
Issue #678 fixing typo on the right date format
Diffstat (limited to 'web-ui')
-rwxr-xr-xweb-ui/config/add_git_version.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/web-ui/config/add_git_version.sh b/web-ui/config/add_git_version.sh
index c988e114..a0abefc0 100755
--- a/web-ui/config/add_git_version.sh
+++ b/web-ui/config/add_git_version.sh
@@ -3,7 +3,7 @@
TEMPLATE_FILE="app/js/generated/hbs/templates.js"
COMMITISH=$(git rev-parse --short HEAD)
-COMMITDATE=$(git show -s --format=%ci)
+COMMITDATE=$(git show -s --format=%cd)
perl -pi -e "s/UNKNOWN_VERSION/$COMMITISH/" $TEMPLATE_FILE
perl -pi -e "s/COMMIT_DATE/$COMMITDATE/" $TEMPLATE_FILE