Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Commit

Permalink
fix: parse false value for clean
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Nov 25, 2020
1 parent 970f8b6 commit fc5b3e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.js
Expand Up @@ -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
Expand Down

0 comments on commit fc5b3e5

Please sign in to comment.