File tree 1 file changed +19
-2
lines changed
stdlib/InteractiveUtils/src
1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -96,8 +96,25 @@ function versioninfo(io::IO=stdout; verbose::Bool=false)
96
96
if ! isempty (Base. GIT_VERSION_INFO. commit_short)
97
97
println (io, " Commit $(Base. GIT_VERSION_INFO. commit_short) ($(Base. GIT_VERSION_INFO. date_string) )" )
98
98
end
99
- if Base. isdebugbuild ()
100
- println (io, " DEBUG build" )
99
+ official_release = Base. TAGGED_RELEASE_BANNER == " Official https://julialang.org/ release"
100
+ if Base. isdebugbuild () || ! isempty (Base. TAGGED_RELEASE_BANNER) || (Base. GIT_VERSION_INFO. tagged_commit && ! official_release)
101
+ println (io, " Build Info:" )
102
+ if Base. isdebugbuild ()
103
+ println (io, " DEBUG build" )
104
+ end
105
+ if ! isempty (Base. TAGGED_RELEASE_BANNER)
106
+ println (io, " " , Base. TAGGED_RELEASE_BANNER)
107
+ end
108
+ if Base. GIT_VERSION_INFO. tagged_commit && ! official_release
109
+ println (io,
110
+ """
111
+
112
+ Note: This is an unofficial build, please report bugs to the project
113
+ responsible for this build and not to the Julia project unless you can
114
+ reproduce the issue using official builds available at https://julialang.org/downloads
115
+ """
116
+ )
117
+ end
101
118
end
102
119
println (io, " Platform Info:" )
103
120
println (io, " OS: " , Sys. iswindows () ? " Windows" : Sys. isapple () ?
You can’t perform that action at this time.
0 commit comments