1
0
mirror of https://github.com/joaquinjsb/gitea-release-please-action synced 2026-05-12 23:41:36 +02:00

feat: allow changelogPath to be specified (#153)

This commit is contained in:
Benjamin E. Coe
2020-12-09 21:13:01 -05:00
committed by GitHub
parent 51ac13fe46
commit 10d7619943
2 changed files with 9 additions and 5 deletions

View File

@@ -6,13 +6,13 @@ const RELEASE_LABEL = 'autorelease: pending'
async function main () {
const bumpMinorPreMajor = Boolean(core.getInput('bump-minor-pre-major'))
// TODO(bcoe): remove this log line.
const monorepoTags = Boolean(core.getInput('monorepo-tags'))
const packageName = core.getInput('package-name')
const path = core.getInput('path') ? core.getInput('path') : undefined
const releaseType = core.getInput('release-type')
const token = core.getInput('token')
const fork = core.getInput('fork') ? true : undefined
const changelogPath = core.getInput('changelog-path') ? core.getInput('changelog-path') : undefined
const changelogTypes = core.getInput('changelog-types')
const command = core.getInput('command') ? core.getInput('command') : undefined
const versionFile = core.getInput('version-file') ? core.getInput('version-file') : undefined
@@ -33,7 +33,8 @@ async function main () {
packageName,
path,
monorepoTags,
token
token,
changelogPath
})
const releaseCreated = await gr.createRelease()
if (releaseCreated) {