Skip to content

Commit 0b9d268

Browse files
committed
fix: fetch submodule tags before checking webrtc release tag
1 parent f51cc46 commit 0b9d268

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

release-automation/check-webrtc-published.mjs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@ try {
2727
);
2828
}
2929

30+
// CI checkout omits submodule tags, so fetch them before describe.
31+
try {
32+
execSync(`git -C "${submoduleDir}" fetch --tags --quiet`, {
33+
stdio: ["ignore", "ignore", "ignore"],
34+
});
35+
} catch {
36+
// best effort: tags may already be present locally
37+
}
38+
3039
let tagAtHead;
3140
try {
3241
tagAtHead = execSync(

0 commit comments

Comments
 (0)