yocto-autobuilder-helper/scripts/run-dashboard-index
Richard Purdie 2f325f5909 scripts/run-dashboard-index: Generate releases.json from the dashboard script
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-05 10:24:55 +00:00

427 B
Executable File

#!/bin/bash

SPDX-License-Identifier: GPL-2.0-only

Called with $1 as the build directory

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/