This is an automated email from the ASF dual-hosted git repository.
mitchell852 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
The following commit(s) were added to refs/heads/master by this push:
new 95366cc Remove seconds in TP build date to fix OURCE bug (#3675)
95366cc is described below
commit 95366ccaf333332990f1b4fe9d10ffd6f603d4ed
Author: Alex Luckerman <[email protected]>
AuthorDate: Fri Jul 19 13:09:46 2019 -0600
Remove seconds in TP build date to fix OURCE bug (#3675)
---
traffic_portal/build/traffic_portal.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/traffic_portal/build/traffic_portal.spec
b/traffic_portal/build/traffic_portal.spec
index 7a71ea6..f5e9922 100644
--- a/traffic_portal/build/traffic_portal.spec
+++ b/traffic_portal/build/traffic_portal.spec
@@ -61,7 +61,7 @@ tar -xzvf $RPM_SOURCE_DIR/traffic_portal-%{version}.tgz
# creates dynamic json file needed at runtime for traffic portal to
display release info
VERSION=%{version}-%{build_number}
- BUILD_DATE=$(date +'%Y-%m-%d %H:%M:%S')
+ BUILD_DATE=$(date +'%Y-%m-%d %H:%M')
VERSION="\"Version\":\"$VERSION\""
BUILD_DATE="\"Build Date\":\"$BUILD_DATE\""
JSON_VERSION="{\n$VERSION,\n$BUILD_DATE\n}"