Skip to content

Commit

Permalink
Merge pull request #15 from Ethyling/fix-rapids-env
Browse files Browse the repository at this point in the history
Fix rapids-env-update to use rapids-is-release-build
  • Loading branch information
ajschmidt8 authored Sep 27, 2022
2 parents a74ca71 + 7aa53f5 commit 81b36b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/rapids-env-update
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
# a nightly or stable build is occurring.
set -e

# Remove nightly channels if build is a stable build
if rapids-is-stable-build; then
# Remove nightly channels if build is a release build
if rapids-is-release-build; then
conda config --system --remove channels rapidsai-nightly
conda config --system --remove channels dask/label/dev
fi

# If nightly or branch build, append current YYMMDD to version
if [[ "${RAPIDS_BUILD_TYPE}" != "pull-request" ]] && ! rapids-is-stable-build; then
if [[ "${RAPIDS_BUILD_TYPE}" != "pull-request" ]] && ! rapids-is-release-build; then
VERSION_SUFFIX=$(date +%y%m%d)
export VERSION_SUFFIX
fi

0 comments on commit 81b36b1

Please sign in to comment.