mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-05-10 10:44:19 +00:00
debug
This commit is contained in:
parent
4f0fb075a4
commit
c54d2bad6b
2 changed files with 3 additions and 1 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
File diff suppressed because one or more lines are too long
|
@ -263,6 +263,8 @@ export const release = async (
|
||||||
return release.data;
|
return release.data;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if (error.status === 404) {
|
if (error.status === 404) {
|
||||||
|
console.log(`update failed with 404`);
|
||||||
|
console.log(JSON.stringify(error.response.data.errors));
|
||||||
const tag_name = tag;
|
const tag_name = tag;
|
||||||
const name = config.input_name || tag;
|
const name = config.input_name || tag;
|
||||||
const body = releaseBody(config);
|
const body = releaseBody(config);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue