diff --git a/packages/web-component/bin/make-wordpress-plugin b/packages/web-component/bin/make-wordpress-plugin index 6873416b..8184896f 100644 --- a/packages/web-component/bin/make-wordpress-plugin +++ b/packages/web-component/bin/make-wordpress-plugin @@ -1,5 +1,5 @@ #!/bin/bash # delete previous version -rm -rf packages/web-component/wordpress-plugin/read-along-web-app-loader.zip -cd packages/web-component/wordpress-plugin/ -zip a -r ./read-along-web-app-loader.zip ./read-along-web-app-loader +cd packages/web-component/wordpress-plugin/ || exit +rm -rf read-along-web-app-loader.zip +zip a -r ./read-along-web-app-loader.zip ./read-along-web-app-loader