mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
fix broken changelogFilepath
This commit is contained in:
parent
7728ed409a
commit
c5509dabee
@ -97,7 +97,7 @@ async function compressDistBundle() {
|
|||||||
return outPath
|
return outPath
|
||||||
}
|
}
|
||||||
|
|
||||||
async function uploadAssets({ release, bundlePath, changelogPath }) {
|
async function uploadAssets({ release, bundlePath, changelogFilepath }) {
|
||||||
// check if has `noPublish` argument, if true, skip uploading assets
|
// check if has `noPublish` argument, if true, skip uploading assets
|
||||||
if (process.argv.includes("--noPublish")) {
|
if (process.argv.includes("--noPublish")) {
|
||||||
console.log("🔥 Skipping upload assets due to `noPublish` argument")
|
console.log("🔥 Skipping upload assets due to `noPublish` argument")
|
||||||
@ -121,7 +121,7 @@ async function uploadAssets({ release, bundlePath, changelogPath }) {
|
|||||||
owner: repo.split("/")[0],
|
owner: repo.split("/")[0],
|
||||||
repo: repo.split("/")[1],
|
repo: repo.split("/")[1],
|
||||||
name: "changelog.md",
|
name: "changelog.md",
|
||||||
data: fs.readFileSync(changelogPath)
|
data: fs.readFileSync(changelogFilepath)
|
||||||
})
|
})
|
||||||
|
|
||||||
if (!appDistAsset) {
|
if (!appDistAsset) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user