diff --git a/packages/generator-volto/.release-it.json b/packages/generator-volto/.release-it.json new file mode 100644 index 0000000000..9921553ef6 --- /dev/null +++ b/packages/generator-volto/.release-it.json @@ -0,0 +1,19 @@ +{ + "hooks": { + "after:bump": "pipx run towncrier build --draft --yes --version ${version} > .changelog.draft && pipx run towncrier build --yes --version ${version}", + "after:release": "rm .changelog.draft" + }, + "git": { + "changelog": "pipx run towncrier build --draft --yes --version 0.0.0", + "requireUpstream": false, + "requireCleanWorkingDir": false, + "commitMessage": "Release generate-volto ${version}", + "tagName": "generator-volto-${version}", + "tagAnnotation": "Release generator-volto ${version}" + }, + "github": { + "release": true, + "releaseName": "@plone/generator-volto ${version}", + "releaseNotes": "cat .changelog.draft" + } +} diff --git a/packages/generator-volto/package.json b/packages/generator-volto/package.json index 030cdfb262..56af3b81cd 100644 --- a/packages/generator-volto/package.json +++ b/packages/generator-volto/package.json @@ -58,25 +58,6 @@ "trailingComma": "all", "singleQuote": true }, - "release-it": { - "hooks": { - "after:bump": "pipx run towncrier build --draft --yes --version ${version} > .changelog.draft && pipx run towncrier build --yes --version ${version}", - "after:release": "rm .changelog.draft" - }, - "git": { - "changelog": "pipx run towncrier build --draft --yes --version 0.0.0", - "requireUpstream": false, - "requireCleanWorkingDir": false, - "commitMessage": "Release generate-volto ${version}", - "tagName": "generator-volto-${version}", - "tagAnnotation": "Release generator-volto ${version}" - }, - "github": { - "release": true, - "releaseName": "@plone/generator-volto ${version}", - "releaseNotes": "cat .changelog.draft" - } - }, "jest": { "testEnvironment": "node" },