mirror of
https://github.com/softprops/action-gh-release.git
synced 2026-06-15 15:42:50 +08:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e6268c631a | |||
| 8988630456 | |||
| c1b107442c | |||
| 4c8c431191 | |||
| 1505034bb0 | |||
| 21e9098c3b | |||
| 26941a6e6b |
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+4
-2
@@ -271,7 +271,7 @@ export const release = async (
|
||||
commitMessage = ` using commit "${target_commitish}"`;
|
||||
}
|
||||
console.log(
|
||||
`👩🏭 Creating new GitHub release for tag ${tag_name}${commitMessage}...`
|
||||
`👩🏭 Creating new GitHub release in ${owner}/${repo} for tag ${tag_name}${commitMessage}...`
|
||||
);
|
||||
try {
|
||||
let release = await releaser.createRelease({
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user