From fc5b3e5c11baace865aed65127f107a4d8b392da Mon Sep 17 00:00:00 2001 From: bcoe Date: Wed, 25 Nov 2020 13:23:36 -0800 Subject: [PATCH] fix: parse false value for clean --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index c747cc8..b3eeba5 100644 --- a/index.js +++ b/index.js @@ -6,7 +6,9 @@ const RELEASE_LABEL = 'autorelease: pending' async function main () { const bumpMinorPreMajor = Boolean(core.getInput('bump-minor-pre-major')) - const clean = core.getInput('clean') ? true : undefined + // TODO(bcoe): remove this log line. + console.info(typeof core.getInput('clean'), core.getInput('clean')); + const clean = core.getInput('clean') === 'false' ? false : true const monorepoTags = Boolean(core.getInput('monorepo-tags')) const packageName = core.getInput('package-name') const path = core.getInput('path') ? core.getInput('path') : undefined