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:
3
index.js
3
index.js
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user