companienv
companienv copied to clipboard
Suggestion: Allow RegEx Compare for "only-if"
Hi,
in our projects we have an environment variable for the system context, which can have values like: Production, Development OR Development/Staging or Development/Local/UserX
So, if I want to promote an ENV var only in every Development/Local/* scenario, it would be nice, if the only-if feature would allow regex compare.
Like:
#+only-if(SOME_ENV_VAR_FOR_LOCAL_CONTEXT_ONLY):(CONTEXT~'/^Development\/Local/')
What do you think?