Add missing hook
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Fabian Stamm 2020-08-16 19:21:17 +02:00
parent 7abe63429f
commit ac73b62df2

View File

@ -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);