@@ -11,11 +11,9 @@ function get_coveralls_info(platform)
11
11
method = :download
12
12
)
13
13
elseif platform == :macos
14
- # Get the latest version dynamically
15
14
arch = Sys. ARCH == :aarch64 ? " aarch64" : " x86_64"
16
- version = get_latest_coveralls_macos_version ()
17
15
return (
18
- url = " https://github.com/vtjnash/coveralls-macos-binaries/releases/latest/download/coveralls-macos-$version - $ arch .tar.gz" ,
16
+ url = " https://github.com/vtjnash/coveralls-macos-binaries/releases/latest/download/coveralls-macos-$arch .tar.gz" ,
19
17
filename = " coveralls" ,
20
18
method = :download ,
21
19
is_archive = true
@@ -31,30 +29,6 @@ function get_coveralls_info(platform)
31
29
end
32
30
end
33
31
34
- """
35
- get_latest_coveralls_macos_version()
36
-
37
- Get the latest version tag for coveralls-macos-binaries from GitHub API.
38
- """
39
- function get_latest_coveralls_macos_version ()
40
- try
41
- response = HTTP. get (" https://api.github.com/repos/vtjnash/coveralls-macos-binaries/releases/latest" )
42
- release_data = JSON. parse (String (response. body))
43
- tag_name = release_data[" tag_name" ]
44
-
45
- # Extract version from tag name (e.g., "v0.6.15-build.20250827235919" -> "v0.6.15")
46
- version_match = match (r" ^(v\d +\.\d +\.\d +)" , tag_name)
47
- if version_match != = nothing
48
- return version_match. captures[1 ]
49
- else
50
- error (" Could not parse version from tag: $tag_name " )
51
- end
52
- catch e
53
- @warn " Failed to fetch latest version, falling back to known version: $e "
54
- return " v0.6.15" # Fallback to a known working version
55
- end
56
- end
57
-
58
32
"""
59
33
to_coveralls_json(fcs::Vector{FileCoverage})
60
34
0 commit comments