Skip to content

Commit e2075da

Browse files
authored
Use robust path when reading .ruby-version (#680)
2 parents 3b41851 + a3aea4e commit e2075da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.buildkite/shared-pipeline-vars

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
export IMAGE_ID="xcode-26.1.1"
44
export CI_TOOLKIT="automattic/a8c-ci-toolkit#5.7.0"
55
export DOCKER_PLUGIN="docker#v5.13.0"
6-
export RUBY_VERSION="3.2.2"
6+
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
7+
export RUBY_VERSION="$(cat "$SCRIPT_DIR/../.ruby-version")"
78
export DOCKER_RUBY_IMAGE="public.ecr.aws/docker/library/ruby:$RUBY_VERSION"

0 commit comments

Comments
 (0)