From ed40fa230b2db2af1c03d4c8670187e2435dd7ee Mon Sep 17 00:00:00 2001 From: Nara Kasbergen Kwon <855115+xiehan@users.noreply.github.com> Date: Fri, 24 Nov 2023 16:36:06 +0100 Subject: [PATCH] chore: update README when updating CDKTF --- scripts/update-cdktf.sh | 3 +++ 1 file changed, 3 insertions(+) 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"