Skip to content

Commit

Permalink
use head for consistency with ucx-py
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Oct 10, 2024
1 parent 9936410 commit 5b5dddd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ci/build_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -euo pipefail
rapids-logger "Create test conda environment"
. /opt/conda/etc/profile.d/conda.sh

export UCXX_VERSION="$(sed -E -e 's/^([0-9]+)\.([0-9]+)\.([0-9]+).*$/\1.\2.\3/' VERSION)"
export UCXX_VERSION="$(head -1 ./VERSION)"
UCXX_VERSION_MAJOR_MINOR="$(sed -E -e 's/^([0-9]+)\.([0-9]+)\.([0-9]+).*$/\1.\2/' VERSION)"

ENV_YAML_DIR="$(mktemp -d)"
Expand Down
2 changes: 1 addition & 1 deletion ci/test_cpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ source "$(dirname "$0")/test_common.sh"
rapids-logger "Create test conda environment"
. /opt/conda/etc/profile.d/conda.sh

UCXX_VERSION="$(sed -E -e 's/^([0-9]+)\.([0-9]+)\.([0-9]+).*$/\1.\2.\3/' VERSION)"
UCXX_VERSION="$(head -1 ./VERSION)"

rapids-dependency-file-generator \
--output conda \
Expand Down
2 changes: 1 addition & 1 deletion ci/test_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ source "$(dirname "$0")/test_common.sh"
rapids-logger "Create test conda environment"
. /opt/conda/etc/profile.d/conda.sh

UCXX_VERSION="$(sed -E -e 's/^([0-9]+)\.([0-9]+)\.([0-9]+).*$/\1.\2.\3/' VERSION)"
UCXX_VERSION="$(head -1 ./VERSION)"

rapids-dependency-file-generator \
--output conda \
Expand Down
2 changes: 1 addition & 1 deletion ci/test_python_distributed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ source "$(dirname "$0")/test_common.sh"
rapids-logger "Create test conda environment"
. /opt/conda/etc/profile.d/conda.sh

UCXX_VERSION="$(sed -E -e 's/^([0-9]+)\.([0-9]+)\.([0-9]+).*$/\1.\2.\3/' VERSION)"
UCXX_VERSION="$(head -1 ./VERSION)"

rapids-dependency-file-generator \
--output conda \
Expand Down

0 comments on commit 5b5dddd

Please sign in to comment.