From 4176173d7c181a3604ec21143e6041c4da10d647 Mon Sep 17 00:00:00 2001 From: Jeff Smits Date: Thu, 3 Oct 2024 14:11:06 +0200 Subject: [PATCH] Add latest releases and aarch64 download links --- docs/macro.py | 26 ++++++++++++++++++++------ docs/release/download.md | 8 ++++++++ 2 files changed, 28 insertions(+), 6 deletions(-) diff --git a/docs/macro.py b/docs/macro.py index 64e991a7c..713088ee4 100644 --- a/docs/macro.py +++ b/docs/macro.py @@ -21,8 +21,12 @@ def eclipse_lwb_artifacts_download(repo: str, variant: str, version: str): win_variant = 'win32-x86_64' macos_jvm_variant = 'macosx-x86_64-jvm' macos_variant = 'macosx-x86_64' +macos_arm_jvm_variant = 'macosx-aarch64-jvm' +macos_arm_variant = 'macosx-aarch64' linux_jvm_variant = 'linux-x86_64-jvm' linux_variant = 'linux-x86_64' +linux_arm_jvm_variant = 'linux-aarch64-jvm' +linux_arm_variant = 'linux-aarch64' def download_link(icon: str, name: str, link: str): @@ -36,8 +40,12 @@ def fill_variables_with_release(variables, env_version: str, version: str, downl windows_jvm = eclipse_lwb_artifacts_download(repo, win_jvm_variant, download_version) macos_jvm = eclipse_lwb_artifacts_download(repo, macos_jvm_variant, download_version) macos = eclipse_lwb_artifacts_download(repo, macos_variant, download_version) + macos_arm_jvm = eclipse_lwb_artifacts_download(repo, macos_arm_jvm_variant, download_version) + macos_arm = eclipse_lwb_artifacts_download(repo, macos_arm_variant, download_version) linux_jvm = eclipse_lwb_artifacts_download(repo, linux_jvm_variant, download_version) linux = eclipse_lwb_artifacts_download(repo, linux_variant, download_version) + linux_arm_jvm = eclipse_lwb_artifacts_download(repo, linux_arm_jvm_variant, download_version) + linux_arm = eclipse_lwb_artifacts_download(repo, linux_arm_variant, download_version) eclipse_repo = f'https://artifacts.metaborg.org/content/unzip/releases-unzipped/org/metaborg/spoofax.lwb.eclipse' \ f'.repository/{version}/spoofax.lwb.eclipse.repository-{version}.zip-unzip/ ' @@ -48,17 +56,21 @@ def fill_variables_with_release(variables, env_version: str, version: str, downl install=dict( jvm=dict( link=dict( - macos=download_link(macos_icon, "macOS 64-bit with embedded JVM", macos_jvm), - linux=download_link(linux_icon, "Linux 64-bit with embedded JVM", linux_jvm), - windows=download_link(windows_icon, "Windows 64-bit with embedded JVM", windows_jvm), + macos=download_link(macos_icon, "macOS x86_64 with embedded JVM", macos_jvm), + macos_arm=download_link(macos_icon, "macOS aarch64 with embedded JVM", macos_arm_jvm), + linux=download_link(linux_icon, "Linux x86_64 with embedded JVM", linux_jvm), + linux_arm=download_link(linux_icon, "Linux aarch64 with embedded JVM", linux_arm_jvm), + windows=download_link(windows_icon, "Windows x86_64 with embedded JVM", windows_jvm), ), macos=macos_jvm, linux=linux_jvm, windows=windows_jvm, ), link=dict( - macos=download_link(macos_icon, "macOS 64-bit", macos), - linux=download_link(linux_icon, "Linux 64-bit", linux), - windows=download_link(windows_icon, "Windows 64-bit", windows), + macos=download_link(macos_icon, "macOS x86_64", macos), + macos_arm=download_link(macos_icon, "macOS aarch64", macos_arm), + linux=download_link(linux_icon, "Linux x86_64", linux), + linux_arm=download_link(linux_icon, "Linux aarch64", linux_arm), + windows=download_link(windows_icon, "Windows x86_64", windows), ), macos=macos, linux=linux, @@ -70,6 +82,8 @@ def fill_variables_with_release(variables, env_version: str, version: str, downl release_versions = { + "0.23.1": "24-07-2024", + "0.23.0": "23-07-2024", "0.22.0": "27-05-2024", "0.20.0": "07-05-2024", "0.19.8": "06-03-2024", diff --git a/docs/release/download.md b/docs/release/download.md index 3818929c6..a17466e90 100644 --- a/docs/release/download.md +++ b/docs/release/download.md @@ -14,13 +14,17 @@ With embedded JVM: * {{release.rel.eclipse_lwb.install.jvm.link.windows}} * {{release.rel.eclipse_lwb.install.jvm.link.macos}} +* {{release.rel.eclipse_lwb.install.jvm.link.macos_arm}} * {{release.rel.eclipse_lwb.install.jvm.link.linux}} +* {{release.rel.eclipse_lwb.install.jvm.link.linux_arm}} Without embedded JVM: * {{release.rel.eclipse_lwb.install.link.windows}} * {{release.rel.eclipse_lwb.install.link.macos}} +* {{release.rel.eclipse_lwb.install.link.macos_arm}} * {{release.rel.eclipse_lwb.install.link.linux}} +* {{release.rel.eclipse_lwb.install.link.linux_arm}} Repository for installing into an existing Eclipse installation: `{{release.rel.eclipse_lwb.repository}}` @@ -36,10 +40,14 @@ With embedded JVM: * {{release.dev.eclipse_lwb.install.jvm.link.windows}} * {{release.dev.eclipse_lwb.install.jvm.link.macos}} +* {{release.dev.eclipse_lwb.install.jvm.link.macos_arm}} * {{release.dev.eclipse_lwb.install.jvm.link.linux}} +* {{release.dev.eclipse_lwb.install.jvm.link.linux_arm}} Without embedded JVM: * {{release.dev.eclipse_lwb.install.link.windows}} * {{release.dev.eclipse_lwb.install.link.macos}} +* {{release.dev.eclipse_lwb.install.link.macos_arm}} * {{release.dev.eclipse_lwb.install.link.linux}} +* {{release.dev.eclipse_lwb.install.link.linux_arm}}