diff --git a/package.json b/package.json index 30167d41ee..0174e19094 100644 --- a/package.json +++ b/package.json @@ -156,7 +156,7 @@ [ "@semantic-release/exec", { - "successCmd": "if [ -d 'dist-dynamic' ]; then echo 'publishing backend derived package ...' && cd dist-dynamic && npm publish --registry https://registry.npmjs.org/ --ignore-scripts --access public ; fi" + "successCmd": "if [ -d 'dist-dynamic' ]; then echo 'publishing backend derived package ...' && cd dist-dynamic && npm pkg delete scripts && npm publish --registry https://registry.npmjs.org/ --access public ; fi" } ] ]