Skip to content

Commit a6acd2a

Browse files
moreatijoerick
andauthored
docs: Note the evalution order of environment variables (#2618)
* docs: Note the evalution order of environment variables * Remove example that doesn't reinforce good practice Co-authored-by: Joe Rickerby <[email protected]> --------- Co-authored-by: Joe Rickerby <[email protected]>
1 parent 372dd68 commit a6acd2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/options.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,7 @@ A list of environment variables to set during the build and test phases. Bash sy
572572
You must use this variable to pass variables to Linux builds, since they execute in a container. It also works for the other platforms.
573573

574574
You can use `$PATH` syntax to insert other variables, or the `$(pwd)` syntax to insert the output of other shell commands.
575+
Variables are evaluated in the order they appear. Any variable referenced before it is set will evaluate to an empty string.
575576

576577
To specify more than one environment variable, separate the assignments by spaces.
577578

0 commit comments

Comments
 (0)