This commit is contained in:
softprops 2021-08-09 23:36:44 -04:00
parent 0eaa34fb9f
commit c95b4533d0
2 changed files with 25 additions and 1 deletions

2
dist/index.js vendored

File diff suppressed because one or more lines are too long

View file

@ -250,6 +250,18 @@ export const release = async (
console.log(
`attemping update of release_id ${release_id} tag_name ${tag_name} target_commitish ${target_commitish} discussion_category_name ${discussion_category_name}`
);
console.log({
owner,
repo,
release_id,
tag_name,
target_commitish,
name,
body,
draft,
prerelease,
discussion_category_name,
});
const release = await releaser.updateRelease({
owner,
repo,
@ -281,6 +293,18 @@ export const release = async (
console.log(
`👩‍🏭 Creating new GitHub release for tag ${tag_name}${commitMessage}...`
);
console.log({
owner,
repo,
tag_name,
name,
body,
draft,
prerelease,
target_commitish,
discussion_category_name,
});
try {
let release = await releaser.createRelease({
owner,