We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da16bbc commit 2463c9fCopy full SHA for 2463c9f
scripts/publish.ts
@@ -67,6 +67,10 @@ log(`tag: ${tag}`);
67
log(`dry run: ${dryRun ? 'yes' : 'no'}`);
68
log(`build: ${skipBuild ? 'skip' : 'run'}`);
69
70
+// Always ensure the embedded archive is fresh before any build/publish step.
71
+// This avoids stale templates/resources in platform binaries produced during tagging.
72
+await run('bun scripts/generate-embedded-resources.mjs --quiet || bun scripts/generate-embedded-resources.mjs');
73
+
74
if (!skipBuild) {
75
// Build all targets so we can publish all platform packages from a single runner.
76
await run('bun run build -- --all');
0 commit comments