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

feat: Add bump-minor-pre-major option (#9)

This commit is contained in:
Corey Farrell
2020-05-18 12:27:44 -04:00
committed by GitHub
parent 9586d19055
commit 788c495e26
4 changed files with 16 additions and 8 deletions

View File

@@ -8,6 +8,7 @@ async function main () {
const token = core.getInput('token')
const releaseType = core.getInput('release-type')
const packageName = core.getInput('package-name')
const bumpMinorPreMajor = Boolean(core.getInput('bump-minor-pre-major'))
// First we check for any merged release PRs (PRs merged with the label
// "autorelease: pending"):
@@ -26,7 +27,8 @@ async function main () {
apiUrl: 'https://api.github.com',
repoUrl: process.env.GITHUB_REPOSITORY,
token: token,
label: RELEASE_LABEL
label: RELEASE_LABEL,
bumpMinorPreMajor: bumpMinorPreMajor
})
await release.run()
}