How to get vsn from .app file

If you can load it, then Application.load(:castore) and then Application.spec(:castore, :vsn). Otherwise you will have to parse it, which is what we do here: elixir/compile.all.ex at main · elixir-lang/elixir · GitHub

4 Likes