Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 1b6b457

Browse files
committed
chore: update publish custom script
1 parent 671c8fe commit 1b6b457

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

publish.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// custom script for deno.land/x/publish
1+
// custom script for https://deno.land/x/publish
22

33
export async function prepublish(version: string) {
44
const p = Deno.run({
@@ -7,6 +7,7 @@ export async function prepublish(version: string) {
77
stdout: 'inherit',
88
stderr: 'inherit',
99
})
10-
await p.status()
10+
const { success } = await p.status()
1111
p.close()
12+
return success
1213
}

0 commit comments

Comments
 (0)