Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow reltool target_dir to be constructed on the fly #172

Closed
wants to merge 1 commit into from

Conversation

uwiger
Copy link
Contributor

@uwiger uwiger commented Jan 11, 2012

The version info in reltool.config can already be expanded by rebar.
This patch makes it possible to use release name and version info to
dynamically construct a target_dir. The patterns $(name) and $(vsn)
are automatically expanded to the corresponding values in RelToolConfig.

For example:

{target_dir, "$(name)/$(vsn)"}

would result in a target directory like "rel/mynode/2.2.1".

The version info in reltool.config can already be expanded by rebar.
This patch makes it possible to use release name and version info to
dynamically construct a target_dir. The patterns $(name) and $(vsn)
are automatically expanded to the corresponding values in RelToolConfig.

For example:

{target_dir, "$(name)/$(vsn)"}

would result in a target directory like "rel/mynode/2.2.1".
@uwiger
Copy link
Contributor Author

uwiger commented Apr 17, 2012

Superceded by the support for .script config files that has just been merged into master.

@uwiger uwiger closed this Apr 17, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant