mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +00:00
Fix bazelisk and mercurial output in readme (#518)
* fix output * fix bazelisk output on ubuntu
This commit is contained in:
@@ -29,7 +29,7 @@ if ! command -v bazelisk; then
|
||||
fi
|
||||
|
||||
# Document what was added to the image
|
||||
bazelisk_version = $(bazelisk version | grep "Bazelisk version:" | cut -d ":" -f 2)
|
||||
bazelisk_version="$(bazelisk version 2>null | grep "Bazelisk version:" | cut -d "v" -f 3)"
|
||||
|
||||
echo "Lastly, documenting what we added to the metadata file"
|
||||
DocumentInstalledItem "Bazel ($(bazel --version))"
|
||||
|
||||
Reference in New Issue
Block a user