We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08ea2d8 commit 99f6558Copy full SHA for 99f6558
base/version_git.sh
@@ -85,11 +85,10 @@ if [ -z "$fork_master_timestamp" ]; then
85
fi
86
87
build_system_directory="../.buildkite"
88
-if [[ -d "${build_system_directory}/.git" ]]; then
+if [ -d "${build_system_directory}/.git" ]; then
89
build_system_commit=$(git -C "${build_system_directory}" rev-parse HEAD)
90
build_system_commit_short=$(git -C "${build_system_directory}" rev-parse --short HEAD)
91
else
92
- echo "Warning: The build system directory does not exist or is not a Git repo: ${build_system_directory}" >&2
93
build_system_commit=""
94
build_system_commit_short=""
95
0 commit comments