From 4218bca24fc98318183f62e9e6bc438cffe7c959 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Andrei?= Date: Mon, 8 Apr 2024 21:25:37 -0300 Subject: [PATCH] Add README.md to the NPM package on release (#6) --- packages/volto-vlibras/.gitignore | 1 + packages/volto-vlibras/.release-it.json | 4 ++-- packages/volto-vlibras/news/5.bugfix | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 packages/volto-vlibras/news/5.bugfix diff --git a/packages/volto-vlibras/.gitignore b/packages/volto-vlibras/.gitignore index dd87e2d..30bc490 100644 --- a/packages/volto-vlibras/.gitignore +++ b/packages/volto-vlibras/.gitignore @@ -1,2 +1,3 @@ node_modules build +README.md \ No newline at end of file diff --git a/packages/volto-vlibras/.release-it.json b/packages/volto-vlibras/.release-it.json index f216d61..ccd9061 100644 --- a/packages/volto-vlibras/.release-it.json +++ b/packages/volto-vlibras/.release-it.json @@ -1,7 +1,7 @@ { "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" + "after:bump": "pipx run towncrier build --draft --yes --version ${version} > .changelog.draft && pipx run towncrier build --yes --version ${version} && cp ../../README.md ./", + "after:release": "rm .changelog.draft README.md" }, "git": { "changelog": "pipx run towncrier build --draft --yes --version 0.0.0", diff --git a/packages/volto-vlibras/news/5.bugfix b/packages/volto-vlibras/news/5.bugfix new file mode 100644 index 0000000..7d93626 --- /dev/null +++ b/packages/volto-vlibras/news/5.bugfix @@ -0,0 +1 @@ +Add README.md to the NPM package on release [@ericof] \ No newline at end of file