[go: up one dir, main page]

Doc: Fix append to two files in variables example

What does this MR do and why?

The existing documentation added by Add docs for GITLAB_ENV variable (!151019 - merged) • Adam Cohen • 17.0 suggests using the following command to write contents to two files:

echo "ARCH=$(arch)" | tee >> $GITLAB_ENV build.env

However, this command results in overwriting the existing contents of $GITLAB_ENV. This MR updates the command example so it appends to both of the files and preserves the existing contents.

References

Edited by Adam Cohen

Merge request reports

Loading