From 8deaf2152049e8b03bfb499ddd1e07f49a93122b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Fri, 8 Nov 2019 18:12:27 +0100 Subject: [PATCH] Avoiding copying release body to public release --- .github/actions/copy-release-to-another-repo/lib/index.js | 3 +-- .github/actions/copy-release-to-another-repo/src/index.ts | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/actions/copy-release-to-another-repo/lib/index.js b/.github/actions/copy-release-to-another-repo/lib/index.js index cb59777b1..f4603efd7 100644 --- a/.github/actions/copy-release-to-another-repo/lib/index.js +++ b/.github/actions/copy-release-to-another-repo/lib/index.js @@ -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, }); diff --git a/.github/actions/copy-release-to-another-repo/src/index.ts b/.github/actions/copy-release-to-another-repo/src/index.ts index f946822c1..6cabe99e2 100644 --- a/.github/actions/copy-release-to-another-repo/src/index.ts +++ b/.github/actions/copy-release-to-another-repo/src/index.ts @@ -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, })