Skip to content

Commit d382122

Browse files
committed
Enable Registrator integration
1 parent 6307f5b commit d382122

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tag.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ function tag(package_name::AbstractString, version::Union{Symbol,VersionNumber,N
147147

148148
GitHub.create_pull_request(gh_pkg_repo, auth=myauth, params=Dict(:title=>"New version: v$version_to_be_tagged", :head=>name_of_release_branch, :base=>name_of_old_branch_in_pkg, :body=>""))
149149

150-
if private_reg_url===nothing && false
151-
GitHub.create_comment(gh_pkg_repo, string(hash_of_commit_to_be_tagged), :commit, params = Dict("body"=>"@JuliaRegistrator register()"))
150+
if private_reg_url===nothing
151+
GitHub.create_comment(gh_pkg_repo, string(hash_of_commit_to_be_tagged), :commit, params = Dict("body"=>"@JuliaRegistrator register()"), auth=myauth)
152152
else
153153
mktempdir() do tmp_path
154154
cd(tmp_path) do

0 commit comments

Comments
 (0)