How to get current distillery released deployed version

I have deployed umbrella app with distillery and edeliver and now there is a need to create an EP to get current deployed release version. I dont see something documented.

Any help/workaround is is highly appreciated

mix edeliver version production

from your project’s root

replace production with the right env if different.

is this available other than a mix command? I mean I need to use it inside an endpoint (inside controller)

Application.spec(:app_name)[:vsn]

should do the trick
where :app_name is you application name

4 Likes