fix: correctly update the changelog on release

This commit is contained in:
Thomas Rupprecht 2023-05-25 00:09:11 +02:00
parent 785421117f
commit a4a122a898
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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"