mirror of
https://github.com/joaquinjsb/gitea-release-please-action
synced 2026-05-13 09:41:38 +02:00
fix: default package-name to undefined (#459)
This allows for release-please to fallback to the deault value since it uses the nullish coalescing operator for that check. Fixes #457 Co-authored-by: Benjamin E. Coe <bencoe@google.com>
This commit is contained in:
2
index.js
2
index.js
@@ -109,7 +109,7 @@ async function manifestInstance (github) {
|
|||||||
const bumpMinorPreMajor = core.getBooleanInput('bump-minor-pre-major')
|
const bumpMinorPreMajor = core.getBooleanInput('bump-minor-pre-major')
|
||||||
const bumpPatchForMinorPreMajor = core.getBooleanInput('bump-patch-for-minor-pre-major')
|
const bumpPatchForMinorPreMajor = core.getBooleanInput('bump-patch-for-minor-pre-major')
|
||||||
const monorepoTags = core.getBooleanInput('monorepo-tags')
|
const monorepoTags = core.getBooleanInput('monorepo-tags')
|
||||||
const packageName = core.getInput('package-name')
|
const packageName = core.getInput('package-name') || undefined
|
||||||
const path = core.getInput('path') || undefined
|
const path = core.getInput('path') || undefined
|
||||||
const releaseType = core.getInput('release-type', { required: true })
|
const releaseType = core.getInput('release-type', { required: true })
|
||||||
const changelogPath = core.getInput('changelog-path') || undefined
|
const changelogPath = core.getInput('changelog-path') || undefined
|
||||||
|
|||||||
Reference in New Issue
Block a user