Skip to content

Commit 77e2a02

Browse files
Add note about TagBot & branch format (#93)
1 parent 0de7540 commit 77e2a02

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/utils.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ Generate the name for the registry branch used to register the package version.
2020
function registration_branch(pkg::Project; url::AbstractString)
2121
url_hash = bytes2hex(SHA.sha256(url))
2222
url_hash_trunc = url_hash[1:10]
23+
# NOTE: If this format is changed TagBot must be updated
24+
# https://github.com/JuliaRegistries/TagBot/blob/4e2dfa4ac8ad1e1a0af1e03f8411855200fac8ce/tagbot/action/repo.py#L219
2325
return "registrator-$(lowercase(pkg.name))-$(string(pkg.uuid)[1:8])-v$(pkg.version)-$(url_hash_trunc)"
2426
end
2527
function registration_branch(project_file::AbstractString; url::AbstractString)

0 commit comments

Comments
 (0)