1
0
mirror of https://github.com/joaquinjsb/gitea-release-please-action synced 2026-05-09 13:51:15 +02:00

fix: parse false value for clean

This commit is contained in:
bcoe
2020-11-25 13:23:36 -08:00
parent 970f8b6b3e
commit fc5b3e5c11

View File

@@ -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