From f78fedbd975d8a3fb6d4c7a470e3c505301ca19c Mon Sep 17 00:00:00 2001 From: "Alejandro R. Mosteo" Date: Fri, 15 Mar 2024 11:00:06 +0100 Subject: [PATCH] Update msys2 installer --- RELEASING.md | 1 + .../os_windows/alire-settings-builtins-windows.ads | 11 +++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/RELEASING.md b/RELEASING.md index eb3a31357..8531e44e4 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -1,5 +1,6 @@ ## Checklist for releasing a new version +1. [ ] Update Msys2 installer at https://github.com/msys2/msys2-installer/releases/ 1. [ ] Run local-only tests (`/testsuite/run-dev-sh`) 1. [ ] Update versions - `Alire.Version` diff --git a/src/alire/os_windows/alire-settings-builtins-windows.ads b/src/alire/os_windows/alire-settings-builtins-windows.ads index 19d4f4c86..cc27adc83 100644 --- a/src/alire/os_windows/alire-settings-builtins-windows.ads +++ b/src/alire/os_windows/alire-settings-builtins-windows.ads @@ -4,10 +4,13 @@ pragma Unreferenced (Alire.Settings.Edit.Early_Load); package Alire.Settings.Builtins.Windows is - Default_Msys2_Installer : constant String := "msys2-x86_64-20221216.exe"; - Default_Msys2_Installer_URL : constant String := - "https://github.com/msys2/msys2-installer/releases/download/2022-12-16/" - & Default_Msys2_Installer; + pragma Style_Checks ("M200"); + Default_Msys2_Installer_URL : constant String + := "https://github.com/msys2/msys2-installer/releases/download/2024-01-13/msys2-x86_64-20240113.exe"; + pragma Style_Checks ("M80"); + + Default_Msys2_Installer : constant String + := AAA.Strings.Split (Default_Msys2_Installer_URL, '/').Last_Element; -- MSYS2