mirror of
https://github.com/softprops/action-gh-release.git
synced 2026-05-06 18:32:00 +08:00
debug cross repo
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
@@ -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,7 @@ 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)`
|
},retrying... (${maxRetries - 1} retries remaining)`
|
||||||
);
|
);
|
||||||
return release(config, releaser, maxRetries - 1);
|
return release(config, releaser, maxRetries - 1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user