async function updateReleaseSpans() {
    latest = await fetchLatestRelease();

    for (const el of releaseSpans) {
        el.textContent = el.hasAttribute('data-minor-release')
            ? getMinor(latest)
            : latest;
    }
}
Update all elements with "data-latest-release" attribute