Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f99eb7e

Browse files
committed
chore: automatically update the playground submodule pointer
1 parent 825a260 commit f99eb7e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/prepublish.mjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,9 @@ try {
2020

2121
await $`git tag -m "v${version}" v${version}`
2222
await $`git push --follow-tags`
23+
24+
const projectRoot = path.resolve(__dirname, '../')
25+
cd(projectRoot)
26+
await $`git add playground`
27+
await $`git commit -m 'chore: update snapshot'`
28+
await $`git push`

0 commit comments

Comments
 (0)