mirror of
https://github.com/joaquinjsb/gitea-release-please-action
synced 2026-05-13 18:31:40 +02:00
fix(config): packageName is optional (#239)
This commit is contained in:
@@ -16,7 +16,7 @@ inputs:
|
|||||||
default: true
|
default: true
|
||||||
package-name:
|
package-name:
|
||||||
description: 'name of the distributions releases are being created for, e.g., "name" in package.json, or "setup.py"'
|
description: 'name of the distributions releases are being created for, e.g., "name" in package.json, or "setup.py"'
|
||||||
required: true
|
required: false
|
||||||
release-type:
|
release-type:
|
||||||
description: 'what type of release is this, one of (ruby, python, node, terraform-module)'
|
description: 'what type of release is this, one of (ruby, python, node, terraform-module)'
|
||||||
required: true
|
required: true
|
||||||
|
|||||||
2
index.js
2
index.js
@@ -17,7 +17,7 @@ function getBooleanInput (input) {
|
|||||||
async function main () {
|
async function main () {
|
||||||
const bumpMinorPreMajor = getBooleanInput('bump-minor-pre-major')
|
const bumpMinorPreMajor = getBooleanInput('bump-minor-pre-major')
|
||||||
const monorepoTags = getBooleanInput('monorepo-tags')
|
const monorepoTags = getBooleanInput('monorepo-tags')
|
||||||
const packageName = core.getInput('package-name', { required: true })
|
const packageName = core.getInput('package-name')
|
||||||
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 token = core.getInput('token', { required: true })
|
const token = core.getInput('token', { required: true })
|
||||||
|
|||||||
Reference in New Issue
Block a user