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

fix: coerce v13 release object to expected action output keys (#437)

This commit is contained in:
Jeff Ching
2022-02-19 06:54:13 -08:00
committed by GitHub
parent a689e64b01
commit 2e2f852b70
4 changed files with 54 additions and 5695 deletions

View File

@@ -166,6 +166,9 @@ function outputReleases (releases) {
// Historically tagName was output as tag_name, keep this
// consistent to avoid breaking change:
if (key === 'tagName') key = 'tag_name'
if (key === 'uploadUrl') key = 'upload_url'
if (key === 'notes') key = 'body'
if (key === 'url') key = 'html_url'
if (path === '.') {
core.setOutput(key, val)
} else {