From 37fcdfaa0ae4588b43c038a36ca8e693e5199f6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillermo=20Vay=C3=A1?= Date: Tue, 20 Apr 2021 12:26:35 +0200 Subject: [PATCH] [MM-35010] add m1 architecture support (#1550) * add both architectures to build process * add arm64 to github release * add beta to the download link so people know that it is not yet fully supported --- package.json | 2 +- scripts/generate_release_markdown.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 25d256f7..f30e721e 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "test:unit:run": "cross-env NODE_ENV=test mocha --reporter mocha-circleci-reporter dist/tests/test_bundle.js", "package:all": "cross-env NODE_ENV=production npm-run-all check-build-config package:windows package:mac package:linux", "package:windows": "cross-env NODE_ENV=production npm-run-all check-build-config build-prod && electron-builder --win --x64 --ia32 --publish=never", - "package:mac": "cross-env NODE_ENV=production npm-run-all check-build-config build-prod && electron-builder --mac --publish=never", + "package:mac": "cross-env NODE_ENV=production npm-run-all check-build-config build-prod && electron-builder --mac --x64 --arm64 --publish=never", "package:linux": "cross-env NODE_ENV=production npm-run-all check-build-config build-prod && electron-builder --linux --x64 --ia32 --publish=never", "lint:js": "eslint --ignore-path .gitignore --ignore-pattern node_modules --ext .js --ext .jsx .", "lint:js-quiet": "eslint --ignore-path .gitignore --ignore-pattern node_modules --ext .js --ext .jsx . --quiet", diff --git a/scripts/generate_release_markdown.sh b/scripts/generate_release_markdown.sh index 9600c488..343c2e02 100755 --- a/scripts/generate_release_markdown.sh +++ b/scripts/generate_release_markdown.sh @@ -34,6 +34,7 @@ $(print_link "${BASE_URL}/mattermost-desktop-${VERSION}-win-x64.zip") #### Mac $(print_link "${BASE_URL}/mattermost-desktop-${VERSION}-mac.dmg") +$(print_link "${BASE_URL}/mattermost-desktop-${VERSION}-mac-arm64.dmg") (beta) #### Linux $(print_link "${BASE_URL}/mattermost-desktop-${VERSION}-linux-ia32.tar.gz")