This commit is contained in:
softprops 2021-08-09 23:26:29 -04:00
parent 4f0fb075a4
commit c54d2bad6b
2 changed files with 3 additions and 1 deletions

2
dist/index.js vendored

File diff suppressed because one or more lines are too long

View File

@ -263,6 +263,8 @@ export const release = async (
return release.data;
} catch (error) {
if (error.status === 404) {
console.log(`update failed with 404`);
console.log(JSON.stringify(error.response.data.errors));
const tag_name = tag;
const name = config.input_name || tag;
const body = releaseBody(config);