Skip to content

Commit 8b93f01

Browse files
committed
add fetch tags
1 parent 5b35909 commit 8b93f01

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

scripts/build.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ async function build(buildPaths, baseRef, lastEdRef, docMetadata) {
201201

202202
if (lastEdRef !== null) {
203203

204+
child_process.execSync(`git fetch --tags`);
205+
204206
console.log(`Generating a redline against the latest edition tag: ${lastEdRef}.`);
205207

206208
await generateRedline(buildPaths, lastEdRef, buildPaths.pubRedLineRefPath, buildPaths.pubRedlinePath);

0 commit comments

Comments
 (0)