mirror of
https://github.com/joaquinjsb/gitea-release-please-action
synced 2026-05-13 09:01:35 +02:00
fix: parse false value for clean
This commit is contained in:
4
index.js
4
index.js
@@ -6,7 +6,9 @@ const RELEASE_LABEL = 'autorelease: pending'
|
|||||||
|
|
||||||
async function main () {
|
async function main () {
|
||||||
const bumpMinorPreMajor = Boolean(core.getInput('bump-minor-pre-major'))
|
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 monorepoTags = Boolean(core.getInput('monorepo-tags'))
|
||||||
const packageName = core.getInput('package-name')
|
const packageName = core.getInput('package-name')
|
||||||
const path = core.getInput('path') ? core.getInput('path') : undefined
|
const path = core.getInput('path') ? core.getInput('path') : undefined
|
||||||
|
|||||||
Reference in New Issue
Block a user