Skip to content

Commit

Permalink
fix: Reset Git after release
Browse files Browse the repository at this point in the history
  • Loading branch information
bennycode committed Jun 26, 2024
1 parent 3a02388 commit 4b41999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"fix:format": "npm run check:format -- --write",
"fix:lint": "npm run check:lint -- --fix --quiet",
"generate": "openapi-generator-cli generate -i ./swagger.json -g typescript-fetch -p \"importFileExtension=.js\" -o ./src",
"postversion": "git push origin && git push origin --tags && npm publish --access public",
"postversion": "git push origin && git push origin --tags && npm publish --access public && git reset --hard",
"preversion": "git checkout main && git pull && npm install && npm run test && npm run dist",
"release:major": "generate-changelog -M -x \"chore,test\" && npm run docs && npm run commit && npm version major",
"release:minor": "generate-changelog -m -x \"chore,test\" && npm run docs && npm run commit && npm version minor",
Expand Down

0 comments on commit 4b41999

Please sign in to comment.