-
-
Notifications
You must be signed in to change notification settings - Fork 157
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
[feature] Allow env var substition to work with tokens #985
Comments
Good news, this is already implemented and will be released in the next version. |
Excellent news, thanks ! |
Landed in v1.11 https://moonrepo.dev/blog/moon-v1.11#unlocked-features |
Hello @milesj, I just checked with 1.11 and it does not seem to work with variable replacements in
This will output Regarding the release notes "unlocked features", it seems to only mention variable substition in tasks commands, not in env variables. |
Yeah you're right, I misread this post and got it confused with another. Let me look into this again. |
Tokens will be supported in the next release: #997 |
Ok, now in 1.12 |
Working great, thank you ! |
Is your feature request related to a problem? Please describe.
I want to derive env variable from the current project name. For example, in every project, I have a
SENTRY_PROJECT
env variable, derived from the moon project's name.Describe the solution you'd like
I would like to be able to write:
Describe alternatives you've considered
For now I'm getting out of it using :
Additional context
Env doc talks about substition and tells us "only variables in the current process can be referenced" => I guess that "tokens" are not considered variables in the current process, or maybe am I missing something ?
The text was updated successfully, but these errors were encountered: