From 465567c1289f7bd59bdc9165f4cde198aa15aa8e Mon Sep 17 00:00:00 2001 From: Ritvik Nag Date: Fri, 3 Feb 2023 23:47:45 -0500 Subject: [PATCH] fix should not default to true --- CHANGELOG.md | 6 ++++++ lib/function.ts | 2 +- package.json | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ea021aa..00f200b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,12 @@ Possible header types: ## [Unreleased] +## v1.2.1 (2023-02-03) + +### Bug Fixes + +- Fix: `Settings.SKIP_BUILD` should not default to `true` + ## v1.2.0 (2023-02-03) ### Bug Fixes diff --git a/lib/function.ts b/lib/function.ts index b812516..bb210b1 100644 --- a/lib/function.ts +++ b/lib/function.ts @@ -96,7 +96,7 @@ export class RustFunction extends Function { if (Settings.SKIP_BUILD === undefined) Settings.SKIP_BUILD = !asBool( scope.node.tryGetContext('build'), - 'F' + 'T' ); // Build with `cargo-lambda` diff --git a/package.json b/package.json index db17f90..3c441ef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rust.aws-cdk-lambda", - "version": "1.2.0", + "version": "1.2.1", "description": "A CDK (v2) Construct Library for AWS Lambda in Rust", "main": "dist/index.js", "types": "dist/index.d.ts",