Skip to content
This repository was archived by the owner on Oct 20, 2021. It is now read-only.

Commit 61923f6

Browse files
author
Paul Balaji
authored
Fix post-command (#43)
1 parent 4246552 commit 61923f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.buildkite/hooks/post-command

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ set -euo pipefail
33
[[ -n "${DEBUG:-}" ]] && set -x
44

55
# Only run purge script on Windows agents, as `premerge` runs on a Linux box
6-
if [[ ${BUILDKITE_AGENT_META_DATA_OS} == "windows" ]]; then
6+
if [[ ${BUILDKITE_AGENT_META_DATA_PLATFORM} == "windows" ]]; then
77
powershell -NoProfile -NonInteractive .shared-ci/scripts/purge.ps1 -projectRoot "$(pwd)/"
88
fi

0 commit comments

Comments
 (0)