Ability to load output of command into variable #752
Replies: 1 comment
-
VERSION:
sh: cat version.txt |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ssbarnea
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
One very common use case with build tools is to use the output of a command as a variable, like detecting the version of the package and use it later.
VERSION=$(cat version.txt)
If I am correct, right now there is no way to do this with task, and I might need to use the VERSION variable in multiple tasks.
Beta Was this translation helpful? Give feedback.
All reactions