From 38ece168f86a5afcbc5650b672c54bd50ad9b8c0 Mon Sep 17 00:00:00 2001 From: Cris Mihalache Date: Fri, 22 Dec 2023 22:55:46 +0100 Subject: [PATCH] fix: git add docs after gen in prepare-release script --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7ae84ea..e5e74ab 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "update-version": "standard-version -a", "prepare": "husky install", "prepublish": "npm run build", - "prepare": "npm run lint && npm run test && npm run build && npm run docs", + "prepare": "npm run lint && npm run test && npm run build && npm run docs && git add docs", "release": "npm run prepare && npm run update-version && git push --follow-tags origin main" }, "devDependencies": {