Compare commits
7 commits
master
...
debug-cros
Author | SHA1 | Date | |
---|---|---|---|
|
e6268c631a | ||
|
8988630456 | ||
|
c1b107442c | ||
|
4c8c431191 | ||
|
1505034bb0 | ||
|
21e9098c3b | ||
|
26941a6e6b |
2 changed files with 5 additions and 3 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
File diff suppressed because one or more lines are too long
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue