-
Notifications
You must be signed in to change notification settings - Fork 44
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
Make ${{ PREFIX }} and other "build-time" vars available in script section? #851
Comments
Actually, it might also be nice to have Maybe we should render this part with another Jinja context ... |
The reason why it's nice is that it works cross-platform regardless of the shell. Switching to |
Apologies, the issue I tagged above may be a new issue. This was the closest similar issue I could find. |
No this is fine and is the correct issue indeed! :) |
We also have a PR for it: #894 |
Initial version of this is merged! |
I am wondering if it would be useful to add some variables only in the script section.
Because it would make it less annoying to deal with Windows vs. Unix env vars.
E.g. this:
Could be written as:
However, some variables introduce a "dependency" on the parsing (for example, PREFIX usually needs the package name to be available, because the directory looks something like
/bld/<package-name>-<timestamp>/placeholder
).The text was updated successfully, but these errors were encountered: