mirror of
https://github.com/softprops/action-gh-release.git
synced 2024-09-11 12:25:38 +03:00
better error on release create failure (#143)
This commit is contained in:
parent
487fcd9442
commit
6ecde844e8
2
dist/index.js
vendored
2
dist/index.js
vendored
File diff suppressed because one or more lines are too long
@ -291,7 +291,9 @@ export const release = async (
|
||||
console.log(
|
||||
`⚠️ GitHub release failed with status: ${
|
||||
error.status
|
||||
}, retrying... (${maxRetries - 1} retries remaining)`
|
||||
}\n${JSON.stringify(
|
||||
error.response.data.errors
|
||||
)}\nretrying... (${maxRetries - 1} retries remaining)`
|
||||
);
|
||||
return release(config, releaser, maxRetries - 1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user