diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ec961c..1b6208d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ All notable changes to this project will be documented in this file. ### ⛰️ Features - Add commitlint to enforce commit message format +- Update the changelog automatically on every commit ## \[[0.9.2](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.9.2)] - 2023-05-24 diff --git a/package.json b/package.json index 355b4a1..9440b91 100644 --- a/package.json +++ b/package.json @@ -35,8 +35,8 @@ "postbuild:firefox": "npm run postbuild", "postbuild:chromium": "npm run postbuild && npm run uninject-browser-polyfill", "postinstall": "npm run copy-browser-polyfill", - "preversion": "npm run lint && npm test && npm run update-changelog", - "version": "npm run copy-version && npm run update-changelog && git add -u", + "preversion": "npm run lint && npm test", + "version": "npm run copy-version && npm run update-changelog && git add CHANGELOG.md src/manifest.json", "postversion": "npm run build:firefox", "prepare": "husky install", "commit": "git-cz"