Skip to content

Commit a1d35e9

Browse files
committed
Refine release script
1 parent 607b504 commit a1d35e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"prepare": "husky install && node scripts/check-release.js || npm run build",
3030
"prepublishOnly": "node scripts/check-release.js",
3131
"release": "node scripts/release.js",
32-
"release:docs": "git checkout master && git pull --ff-only && git branch --force documentation-published master && git push origin documentation-published",
32+
"release:docs": "git fetch --update-head-ok origin master:master && git branch --force documentation-published master && git push origin documentation-published",
3333
"test": "npm run build && npm run test:all",
3434
"test:update-snapshots": "node scripts/update-snapshots.js",
3535
"test:cjs": "npm run build:cjs && npm run test:only",

0 commit comments

Comments
 (0)