From 717428a72a3a1bad7ad541a82b9d69004a02d202 Mon Sep 17 00:00:00 2001 From: Richard Viney Date: Wed, 13 Nov 2024 12:57:07 +1300 Subject: [PATCH] Specify Erlang v27 in the CI workflow for new projects --- CHANGELOG.md | 6 ++++++ compiler-cli/src/new.rs | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 75fff529fb4..1623ce32dbd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ ## Unreleased +### Build tool + +- The version of Erlang used in the GitHub Actions workflow created by + `gleam new` has been increased from v26.0.2 to v27.1.2. + ([Richard Viney](https://github.com/richard-viney)) + ### Bug fixes - Fixed a bug where some reserved field names were not properly escaped in diff --git a/compiler-cli/src/new.rs b/compiler-cli/src/new.rs index 511b7b7ecc1..a92da0163d4 100644 --- a/compiler-cli/src/new.rs +++ b/compiler-cli/src/new.rs @@ -17,7 +17,7 @@ use crate::{fs::get_current_directory, NewOptions}; const GLEAM_STDLIB_REQUIREMENT: &str = ">= 0.34.0 and < 2.0.0"; const GLEEUNIT_REQUIREMENT: &str = ">= 1.0.0 and < 2.0.0"; -const ERLANG_OTP_VERSION: &str = "26.0.2"; +const ERLANG_OTP_VERSION: &str = "27.1.2"; const REBAR3_VERSION: &str = "3"; const ELIXIR_VERSION: &str = "1.15.4";