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

fix(config): packageName is optional (#239)

This commit is contained in:
Benjamin E. Coe
2021-02-17 21:33:02 -08:00
committed by GitHub
parent 76ee919f52
commit df8698c999
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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 })