mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-05-10 18:44:19 +00:00
debug what comes back from our iterator
This commit is contained in:
parent
f3c225f2b8
commit
a31211f9ff
2 changed files with 6 additions and 0 deletions
|
@ -72,6 +72,9 @@ exports.release = (config, releaser) => __awaiter(void 0, void 0, void 0, functi
|
|||
repo
|
||||
})), _c; _c = yield _b.next(), !_c.done;) {
|
||||
const release = _c.value;
|
||||
console.log(`release`);
|
||||
console.log(release);
|
||||
console.log(release.data);
|
||||
if (tag == release.data.tag_name) {
|
||||
return release.data;
|
||||
}
|
||||
|
|
|
@ -119,6 +119,9 @@ export const release = async (
|
|||
owner,
|
||||
repo
|
||||
})) {
|
||||
console.log(`release`);
|
||||
console.log(release);
|
||||
console.log(release.data);
|
||||
if (tag == release.data.tag_name) {
|
||||
return release.data;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue