From 0c352db030afc0a2dd42603d23055817963b0de3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Fern=C3=A1ndez=20de=20Alba?= Date: Wed, 4 Dec 2024 21:17:03 +0100 Subject: [PATCH] Fix README in npm by copying it from the root of the monorepo. (#6510) --- packages/volto/.release-it.json | 4 +++- packages/volto/news/6510.internal | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 packages/volto/news/6510.internal diff --git a/packages/volto/.release-it.json b/packages/volto/.release-it.json index 28780df7e4..0395373591 100644 --- a/packages/volto/.release-it.json +++ b/packages/volto/.release-it.json @@ -5,7 +5,9 @@ "hooks": { "before:bump": ["pnpm i18n", "pnpm build:types", "git add types"], "after:bump": [ - "pipx run towncrier build --draft --yes --version ${version} > .changelog.draft && pipx run towncrier build --yes --version ${version}", + "pipx run towncrier build --draft --yes --version ${version} > .changelog.draft", + "pipx run towncrier build --yes --version ${version}", + "cp ../../README.md ./", "make release-notes-copy-to-docs" ], "after:release": "rm .changelog.draft" diff --git a/packages/volto/news/6510.internal b/packages/volto/news/6510.internal new file mode 100644 index 0000000000..3404ee809c --- /dev/null +++ b/packages/volto/news/6510.internal @@ -0,0 +1 @@ +Fixed the `README.md` for Volto core when releasing to npm registry: copy it from the root of the monorepo on release. @sneridagh