diff --git a/cli/commands/publish.ts b/cli/commands/publish.ts index 355f342..9d3426e 100644 --- a/cli/commands/publish.ts +++ b/cli/commands/publish.ts @@ -119,6 +119,11 @@ export default async function publish(options: { dry: boolean }) { } else { console.log(Colors.yellow("Dry run. Skipping upload")); } + + if (meta.hooks) { + log("Running postpublish hooks"); + await runHooks(meta.hooks.postpublish); + } } finally { await Deno.remove(tmpDir, { recursive: true }); await Deno.remove(packedFile);