Skip to content

Commit 2851c29

Browse files
committed
add build before bump in release
1 parent 1a46ae9 commit 2851c29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"build": "rimraf dist; unbuild; nr size; nr copy",
4747
"dev": "unbuild --stub",
4848
"prepublishOnly": "nr build",
49-
"release": "bumpp --commit --push --tag;cd dist;pnpm publish",
49+
"release": "nr build;bumpp --commit --push --tag;cd dist;pnpm publish;cd ..;",
5050
"start": "esno src/index.ts",
5151
"test": "vitest",
5252
"size": "sizesnap",

0 commit comments

Comments
 (0)