diff --git a/update_cdk_version_in_projen.sh b/update_cdk_version_in_projen.sh index 568366d..bd93d79 100755 --- a/update_cdk_version_in_projen.sh +++ b/update_cdk_version_in_projen.sh @@ -22,7 +22,7 @@ else sed -i "s/cdkVersion: '$local_version'/cdkVersion: '$release_version'/g" .projenrc.js # # remove the lock file so we can update appropriately for the new CDK version # rm yarn.lock - if npx projen && npx jest test; then + if npx projen --no-post && yarn install && npx jest test; then echo "CDK version upgraded successfully" else echo "CDK version upgrade failed"