I think an example is in order. Consider I have these two environment variables setup (by a Continuous Delivery tool):
What I want now is a script that can't predict the name of the variable pointing out
USE_VERSION_FROM. And so, I'm looking for a way to get my script to know the version to use (
1.2.3) without knowing anything other than that
USE_VERSION_FROM points out the name of the variable that holds the version number.
My naïve non-working first attempt: