This commit is contained in:
parent
7abe63429f
commit
ac73b62df2
@ -119,6 +119,11 @@ export default async function publish(options: { dry: boolean }) {
|
|||||||
} else {
|
} else {
|
||||||
console.log(Colors.yellow("Dry run. Skipping upload"));
|
console.log(Colors.yellow("Dry run. Skipping upload"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (meta.hooks) {
|
||||||
|
log("Running postpublish hooks");
|
||||||
|
await runHooks(meta.hooks.postpublish);
|
||||||
|
}
|
||||||
} finally {
|
} finally {
|
||||||
await Deno.remove(tmpDir, { recursive: true });
|
await Deno.remove(tmpDir, { recursive: true });
|
||||||
await Deno.remove(packedFile);
|
await Deno.remove(packedFile);
|
||||||
|
Loading…
Reference in New Issue
Block a user