That is at least the way Compat does 
it https://github.com/JuliaLang/Compat.jl/blob/master/src/Compat.jl and 
there is even a useful script to get the version number of a 
SHA https://github.com/JuliaLang/Compat.jl#developer-tips

- Valentin



On Wednesday, 31 December 2014 13:03:34 UTC+1, Andreas Lobinger wrote:
>
> Hello colleagues,
>
> i remember reading something about the impossibility to create a 
> consistent julia version number, but i cannot find it ... anymore
> Still: 
>
> What is the recommended way to get a julia major/minor version number (i 
> need to check <> v.0.4)? Just parse Base.VERSION?
>
> Wishing a happy day,
>        Andreas
>

Reply via email to