diff mbox series

[yocto-autobuilder-helper,02/11] scripts/run-dashboard-index: Generate releases.json from the dashboard script

Message ID 20250305102506.2043524-2-richard.purdie@linuxfoundation.org
State New
Headers show
Series [yocto-autobuilder-helper,01/11] scripts/run-dashboard-index: Add basic index page for new dashboard site | expand

Commit Message

Richard Purdie March 5, 2025, 10:24 a.m. UTC
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 scripts/run-dashboard-index | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/scripts/run-dashboard-index b/scripts/run-dashboard-index
index 6644ee7..c1f0c78 100755
--- a/scripts/run-dashboard-index
+++ b/scripts/run-dashboard-index
@@ -7,5 +7,9 @@ 
 builddir=$(realpath "$1")
 scriptdir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
 
+cd $builddir
+$scriptdir/release-parser.py 
+
+rsync -irlp --checksum --ignore-times releases.json docs@docs.yoctoproject.org:dashboard/
 rsync -irlp --checksum --ignore-times $scriptdir/dashboard/index.html docs@docs.yoctoproject.org:dashboard/