diff --git a/scripts/update-cdktf.sh b/scripts/update-cdktf.sh index 23e64cc..ebcee0a 100755 --- a/scripts/update-cdktf.sh +++ b/scripts/update-cdktf.sh @@ -17,3 +17,6 @@ yarn sed -i "s/cdktfVersion: \".*\",/cdktfVersion: \"$CDKTF_VERSION\",/" "$PROJECT_ROOT/.projenrc.ts" sed -i "s/\"cdktf@.*\",/\"cdktf@>=$CDKTF_VERSION\",/" "$PROJECT_ROOT/.projenrc.ts" CI=0 npx projen + +echo "Updating README" +sed -i 's/`cdktf` >= .*/`cdktf` >= '"$CDKTF_VERSION"'/' "$PROJECT_ROOT/README.md"