update format in kythe latest.txt
generate pattern like this:
str_var <name:'kythe_index_version' value:'1478728552'>
as this makes it easier for the kythe team to process this data.
Test: no production code changed
Change-Id: I61c342f9fbaf4bdff306ef7a0be3cb5c1fbae47c
diff --git a/linux-x86_64/kythe/studio/build_studio_kythe.sh b/linux-x86_64/kythe/studio/build_studio_kythe.sh
index 1d3e662..39b2785 100755
--- a/linux-x86_64/kythe/studio/build_studio_kythe.sh
+++ b/linux-x86_64/kythe/studio/build_studio_kythe.sh
@@ -59,7 +59,7 @@
TIMESTAMP=$(date +'%s')
"${GSUTIL}" -m cp "${OUT_ENTRIES}/*" "${GSBUCKET}/${TIMESTAMP}/"
LATEST_FILE="$(mktemp)"
- echo ${TIMESTAMP}>"${LATEST_FILE}"
+ echo "str_var <name:'kythe_index_version' value:'${TIMESTAMP}'>">"${LATEST_FILE}"
"${GSUTIL}" cp "${LATEST_FILE}" "${GSBUCKET}/latest.txt"
rm "${LATEST_FILE}"
fi
\ No newline at end of file