From ac8d5175c26444e6f6759d73bcfd75c1c18344c6 Mon Sep 17 00:00:00 2001 From: David Festal Date: Thu, 7 Dec 2023 16:25:56 +0100 Subject: [PATCH] fix: also publish the `dist-dynamic` packages (#1006) Signed-off-by: David Festal --- package.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package.json b/package.json index c0bfc0e923..491cd594e5 100644 --- a/package.json +++ b/package.json @@ -152,6 +152,12 @@ "successComment": false, "releasedLabels": false } + ], + [ + "@semantic-release/exec", + { + "successCmd": "if [ -d 'dist-dynamic' ]; then echo 'publishing backend derived package ...' && cd dist-dynamic && npm publish --ignore-scripts --access public ; fi" + } ] ] }