Skip to content

Commit 2e2f852

Browse files
authored
fix: coerce v13 release object to expected action output keys (#437)
1 parent a689e64 commit 2e2f852

4 files changed

Lines changed: 54 additions & 5695 deletions

File tree

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,9 @@ function outputReleases (releases) {
166166
// Historically tagName was output as tag_name, keep this
167167
// consistent to avoid breaking change:
168168
if (key === 'tagName') key = 'tag_name'
169+
if (key === 'uploadUrl') key = 'upload_url'
170+
if (key === 'notes') key = 'body'
171+
if (key === 'url') key = 'html_url'
169172
if (path === '.') {
170173
core.setOutput(key, val)
171174
} else {

0 commit comments

Comments
 (0)