1
0
mirror of https://github.com/joaquinjsb/gitea-release-please-action synced 2026-05-12 20:01:37 +02:00

fix: path was sometimes empty string

This commit is contained in:
bcoe
2020-08-02 15:55:26 -07:00
parent 9f0933c4aa
commit 37d774119e
3 changed files with 138 additions and 106 deletions

View File

@@ -8,7 +8,7 @@ async function main () {
const bumpMinorPreMajor = Boolean(core.getInput('bump-minor-pre-major'))
const monorepoTags = Boolean(core.getInput('monorepo-tags'))
const packageName = core.getInput('package-name')
const path = core.getInput('path')
const path = core.getInput('path') ? core.getInput('path') : undefined
const releaseType = core.getInput('release-type')
const token = core.getInput('token')
@@ -18,7 +18,7 @@ async function main () {
label: RELEASE_LABEL,
repoUrl: process.env.GITHUB_REPOSITORY,
packageName,
path: path ? path : undefined,
path,
token
})
const releaseCreated = await gr.createRelease()