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