Skip to content

Commit 13e711a

Browse files
committed
Tagged release and debug status above commit
1 parent 5fdf32e commit 13e711a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stdlib/InteractiveUtils/src/InteractiveUtils.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,15 +103,15 @@ See also: [`VERSION`](@ref).
103103
function versioninfo(io::IO=stdout; verbose::Bool=false)
104104
println(io, "Julia Version $VERSION")
105105
println(io, "Build Info:")
106-
if !isempty(Base.GIT_VERSION_INFO.commit_short_raw)
107-
println(io, " Commit: $(Base.GIT_VERSION_INFO.commit_short) ($(Base.GIT_VERSION_INFO.date_string))")
108-
end
109106
if Base.isdebugbuild()
110107
println(io, " DEBUG build")
111108
end
112109
if !isempty(Base.TAGGED_RELEASE_BANNER)
113110
println(io, " ", Base.TAGGED_RELEASE_BANNER)
114111
end
112+
if !isempty(Base.GIT_VERSION_INFO.commit_short_raw)
113+
println(io, " Commit: $(Base.GIT_VERSION_INFO.commit_short) ($(Base.GIT_VERSION_INFO.date_string))")
114+
end
115115
println(io, " GC: ", unsafe_string(ccall(:jl_gc_active_impl, Ptr{UInt8}, ())))
116116
if verbose
117117
println(io, " Sysimage: ", Sys.BASE_SYSIMG_TARGET, " (", Sys.MACHINE, ")")

0 commit comments

Comments
 (0)