Skip to content

Commit 64d788e

Browse files
Merge #524
524: When yanking a version, only `yanked = true` is correct; `yank = true` (and other variants) are incorrect, so we should detect them r=DilumAluthge a=DilumAluthge Fixes #523 Co-authored-by: Dilum Aluthge <[email protected]>
2 parents 3082b39 + 061b5f1 commit 64d788e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "RegistryCI"
22
uuid = "0c95cc5f-2f7e-43fe-82dd-79dbcba86b32"
33
authors = ["Dilum Aluthge <[email protected]>", "Fredrik Ekre <[email protected]>", "contributors"]
4-
version = "9.0.0"
4+
version = "9.1.0"
55

66
[deps]
77
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"

src/registry_testing.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,11 @@ function test(path=pwd(); registry_deps::Vector{<:AbstractString}=String[])
172172
for (v, data) in vers
173173
Test.@test VersionNumber(v) isa VersionNumber
174174
Test.@test haskey(data, "git-tree-sha1")
175+
176+
# https://github.com/JuliaRegistries/RegistryCI.jl/issues/523
177+
# "yanked" is correct.
178+
# "yank" (and all other variants) are incorrect.
179+
Test.@test keys(data) ["git-tree-sha1", "yanked"]
175180
end
176181

177182
# Deps.toml testing

0 commit comments

Comments
 (0)