pull/4837/head
bunsenstraat 11 months ago
parent eb046d475c
commit db541eae52
  1. 6
      apps/remix-ide/ci/update_desktop_release_assets.ts

@ -175,6 +175,8 @@ async function main() {
const mac = fs.readFileSync(path.join(__dirname, '../../../release', 'latest-mac.yml'), 'utf8')
const parsedMacArm64 = YAML.parse(macArm64)
const parsedMac = YAML.parse(mac)
console.log(parsedMacArm64)
console.log(parsedMac)
const combined = {
...parsedMac,
files: {
@ -184,9 +186,9 @@ async function main() {
}
console.log(combined)
const newYml = YAML.stringify(combined)
fs.writeFileSync(path.join(__dirname, '../../../release', 'latest-mac.yml'), newYml)
//fs.writeFileSync(path.join(__dirname, '../../../release', 'latest-mac.yml'), newYml)
// remove the arm64 file
fs.unlinkSync(path.join(__dirname, '../../../release', 'latest-mac-arm64.yml'))
// fs.unlinkSync(path.join(__dirname, '../../../release', 'latest-mac-arm64.yml'))
}
} catch (e) {
console.log(e)

Loading…
Cancel
Save