From c5509dabeeaf72ac11b2e218c78725ec9e66ddf0 Mon Sep 17 00:00:00 2001 From: SrGooglo Date: Thu, 27 Apr 2023 22:05:58 +0000 Subject: [PATCH] fix broken `changelogFilepath` --- scripts/release.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/release.js b/scripts/release.js index c9618ce5..db5cdb12 100755 --- a/scripts/release.js +++ b/scripts/release.js @@ -97,7 +97,7 @@ async function compressDistBundle() { return outPath } -async function uploadAssets({ release, bundlePath, changelogPath }) { +async function uploadAssets({ release, bundlePath, changelogFilepath }) { // check if has `noPublish` argument, if true, skip uploading assets if (process.argv.includes("--noPublish")) { console.log("🔥 Skipping upload assets due to `noPublish` argument") @@ -121,7 +121,7 @@ async function uploadAssets({ release, bundlePath, changelogPath }) { owner: repo.split("/")[0], repo: repo.split("/")[1], name: "changelog.md", - data: fs.readFileSync(changelogPath) + data: fs.readFileSync(changelogFilepath) }) if (!appDistAsset) {