diff --git a/release-automation/check-webrtc-published.mjs b/release-automation/check-webrtc-published.mjs index f12a74ff..736fc92b 100644 --- a/release-automation/check-webrtc-published.mjs +++ b/release-automation/check-webrtc-published.mjs @@ -27,6 +27,15 @@ try { ); } +// CI checkout omits submodule tags, so fetch them before describe. +try { + execSync(`git -C "${submoduleDir}" fetch --tags --quiet`, { + stdio: ["ignore", "ignore", "ignore"], + }); +} catch { + // best effort: tags may already be present locally +} + let tagAtHead; try { tagAtHead = execSync(