X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.release-it.json;h=4b3575ef6b43ef2810872980b029c731c3fd36c8;hb=2bbddc367e37d0d163ee0e22f63c7093bb3aa0cd;hp=6b6312764dd68df7a12a965f6b9653b44100c678;hpb=cc6b7578dafd1658a3a20a814d9cf75edff54996;p=e-mobility-charging-stations-simulator.git diff --git a/.release-it.json b/.release-it.json index 6b631276..4b3575ef 100644 --- a/.release-it.json +++ b/.release-it.json @@ -1,16 +1,15 @@ { - "plugins": { - "@release-it/keep-a-changelog": { - "filename": "CHANGELOG.md" - } - }, "git": { - "requireCleanWorkingDir": false + "changelog": "npx auto-changelog --stdout --commit-limit false --commit-url https://github.com/sap-labs-france/ev-simulator/commit/{id} --unreleased --template https://raw.githubusercontent.com/release-it/release-it/master/templates/changelog-compact.hbs", + "pushRepo": "upstream" }, "npm": { "publish": false }, "github": { "release": true + }, + "hooks": { + "after:bump": "npx auto-changelog -p --compare-url https://github.com/sap-labs-france/ev-simulator/compare/{from}...{to} --commit-url https://github.com/sap-labs-france/ev-simulator/commit/{id}" } }