Use GO version of publisher 20/132520/2
authorAleksander Mistewicz <a.mistewicz@samsung.com>
Wed, 17 May 2017 12:01:40 +0000 (14:01 +0200)
committerAleksander Mistewicz <a.mistewicz@samsung.com>
Tue, 8 Aug 2017 08:18:08 +0000 (10:18 +0200)
Change-Id: If19d50ce6685695633098db056e722872db825c5

tsp/jobs/update_www.sh

index 06af2fb..804b121 100755 (executable)
@@ -22,18 +22,7 @@ export TSP_DIR="$(CDPATH='' cd -- "$(dirname -- "$0")" && pwd -P)/.."
 
 test -f "${UPDATE_WWW}" || die "No need to update the webpage" 0
 
-# Publish to www
-{
-    cat "${TSP_DIR}/html_head"
-    "${TSP_DIR}/scripts/publish.py" "${DBPATH}"
-    cat "${TSP_DIR}/html_tail"
-} > "${WWW_PUBLISH}"
-
-# Publish to www_3
-{
-    cat "${TSP_DIR}/html_head"
-    "${TSP_DIR}/scripts/publish.py" --tizen3 "${DBPATH}"
-    cat "${TSP_DIR}/html_tail"
-} > "${WWW_3_PUBLISH}"
+publish -limit 2048 -db "${DBPATH}" -out "${WWW_PUBLISH}"
+publish -limit 1024 -tizen3 -db "${DBPATH}" -out "${WWW_3_PUBLISH}"
 
 rm "${UPDATE_WWW}"