Compare commits

...

7 commits

Author SHA1 Message Date
softprops
e6268c631a error is of unknown structure 2021-08-09 09:19:25 -04:00
softprops
8988630456 error is of unknown structure 2021-08-09 00:20:24 -04:00
softprops
c1b107442c error is of unknown structure 2021-08-09 00:18:15 -04:00
softprops
4c8c431191 error is of unknown structure 2021-08-09 00:16:19 -04:00
softprops
1505034bb0 error is of unknown structure 2021-08-09 00:14:58 -04:00
softprops
21e9098c3b more error info 2021-08-09 00:12:44 -04:00
softprops
26941a6e6b debug cross repo 2021-08-09 00:05:07 -04:00
2 changed files with 5 additions and 3 deletions

2
dist/index.js vendored

File diff suppressed because one or more lines are too long

View file

@ -271,7 +271,7 @@ export const release = async (
commitMessage = ` using commit "${target_commitish}"`; commitMessage = ` using commit "${target_commitish}"`;
} }
console.log( console.log(
`👩‍🏭 Creating new GitHub release for tag ${tag_name}${commitMessage}...` `👩‍🏭 Creating new GitHub release in ${owner}/${repo} for tag ${tag_name}${commitMessage}...`
); );
try { try {
let release = await releaser.createRelease({ let release = await releaser.createRelease({
@ -291,7 +291,9 @@ export const release = async (
console.log( console.log(
`⚠️ GitHub release failed with status: ${ `⚠️ GitHub release failed with status: ${
error.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); return release(config, releaser, maxRetries - 1);
} }