mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 02:24:16 +00:00
fix broken changelogFilepath
This commit is contained in:
parent
7728ed409a
commit
c5509dabee
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user