Skip to content

Commit 7fece57

Browse files
committed
chore: ensure the local branch is up to date before versioning [skip ci]
1 parent 0610ebb commit 7fece57

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"pretest": "pnpm run build && pnpm run snapshot",
2525
"test": "zx ./scripts/test.mjs",
2626
"test:unit": "vitest",
27+
"preversion": "git fetch && git status -uno | grep -q 'Your branch is up to date'",
2728
"postversion": "zx ./scripts/postversion.mjs",
2829
"prepublishOnly": "pnpm run build"
2930
},

0 commit comments

Comments
 (0)