Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Determining the app name and version of the release for an umbrella app #201

@lpil

Description

@lpil

Hello!

I'm using distillery with mix_docker, a tool that will handle building the image in one docker container and then extracting the release to use in another more minimal image.
It has been designed with regular apps in mind rather than umbrellas, and I'm trying to get it working with both.

At one point it determines the path to the release using Mix.Project.get.project[:version] and Mix.Project.get.project[:version], which return nil for an umbrella apps with the default configuration.

Seeing as the name and version known or generated by distillery I feel the best way to get this information is to ask distillery. Is there an API I can use to do this?

Thank you,
Louis

Related issue: Recruitee/mix_docker#2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions