Skip to content

Commit 77c9bbf

Browse files
committed
fix(release): git pull --ff-only before release
1 parent b47292e commit 77c9bbf

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
@@ -14,7 +14,7 @@
1414
"lint": "semistandard",
1515
"lint:fix": "semistandard --fix",
1616
"debug": "mocha --inspect --inspect-brk",
17-
"prerelease": "npm run lint && npm test && standard-version && npm login",
17+
"prerelease": "git pull --ff-only && npm run lint && npm test && standard-version && npm login",
1818
"release": "npm publish --access=public --tag=\"${1:-latest}\"",
1919
"postrelease": "(npm logout || true) && git push --follow-tags && gh release create --draft --generate-notes \"v$(cat package.json | jq -r .version)\""
2020
},

0 commit comments

Comments
 (0)