[erlang-questions] Querying release version

André Graf <>
Wed Jul 4 15:04:00 CEST 2012


release_handler:which_releases()
will do it.

On 4 July 2012 14:24, Gustav Simonsson
<> wrote:
>
> http://www.erlang.org/doc/man/reltool.html#get_rel-2
> http://www.erlang.org/doc/apps/reltool/reltool_examples.html#id61354
>
> // Gustav
>
> Sent from my PC
>
> ----- Original Message -----
>> From: "Vasily Sulatskov" <>
>> To: 
>> Sent: Wednesday, 4 July, 2012 2:12:57 PM
>> Subject: [erlang-questions] Querying release version
>>
>> Hi All,
>>
>> I am using a release system for deployment. That means I have a
>> properly generated .rel file with a meaningful release version
>> string.
>>
>> Something like this:
>>
>> {release,
>>  {"myproject", "1.0.18-5256c9d80442"},
>>  ...
>>  ...
>>
>>
>> Is there a way to read that release version string during system's
>> runtime?
>>
>> --
>> Best regards,
>> Vasily Sulatskov
>> _______________________________________________
>> erlang-questions mailing list
>> 
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list