Avoiding copying release body to public release

This commit is contained in:
Mislav Marohnić 2019-11-08 18:12:27 +01:00
parent daf291b6bc
commit 8deaf21520
2 changed files with 2 additions and 4 deletions

View file

@ -3915,8 +3915,7 @@ async function createRelease(owner, repo, release) {
repo,
tag_name: release.tag_name,
name: release.name,
body: release.body,
target_commitish: release.target_commitish,
body: '',
prerelease: release.prerelease,
draft: false,
});

View file

@ -61,8 +61,7 @@ async function createRelease(owner: string, repo: string, release: ReposGetRelea
repo,
tag_name: release.tag_name,
name: release.name,
body: release.body,
target_commitish: release.target_commitish,
body: '',
prerelease: release.prerelease,
draft: false,
})