Skip to content

Commit

Permalink
Fix LTS version and update script
Browse files Browse the repository at this point in the history
  • Loading branch information
abelsiqueira committed Dec 5, 2024
1 parent 6191992 commit 84833b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions .github/update-versions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

"""
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion ci-test.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 84833b2

Please sign in to comment.