From 84833b22893ff95c27eccdabdba04ea067e548eb Mon Sep 17 00:00:00 2001 From: Abel Soares Siqueira Date: Thu, 5 Dec 2024 20:43:12 +0100 Subject: [PATCH] Fix LTS version and update script --- .github/update-versions.jl | 8 ++------ ci-test.sh | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/update-versions.jl b/.github/update-versions.jl index c0f8f8f..2ea5d0d 100644 --- a/.github/update-versions.jl +++ b/.github/update-versions.jl @@ -31,10 +31,7 @@ Download the file `https://julialang-s3.julialang.org/bin/versions.json` and par """ function get_versions_online() versions_file = download("https://julialang-s3.julialang.org/bin/versions.json") - read(versions_file, String) |> - JSON3.read |> - keys .|> - string + read(versions_file, String) |> JSON3.read |> keys .|> string end """ @@ -100,8 +97,7 @@ function update_new_versions(new_versions, current_versions) ("README.md", r"Currently (.*)\)", "lts"), ("jill.sh", r"^JULIA_LTS=(.*)$", "lts"), ("jill.sh", r"^JULIA_LATEST=(.*)$", "latest-up-to-minor"), - ("ci-test.sh", r"julia-(.*) -v", "lts"), - ("ci-test.sh", r"julia version (.*)\"", "lts"), + ("ci-test.sh", r"^LTS=(.*)$", "lts"), ] regex_had_match = false filepath = joinpath(@__DIR__, "..", file) diff --git a/ci-test.sh b/ci-test.sh index 91d788a..b540ebb 100644 --- a/ci-test.sh +++ b/ci-test.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -LTS=1.10.6 +LTS=1.10.7 LTS_FAMILY=$(echo "$LTS" | cut -d. -f1-2) if [ -z "$VERSION" ]; then