Skip to content

Commit

Permalink
Add DATE_STRING environment variable for builds (#39)
Browse files Browse the repository at this point in the history
This PR adds the `DATE_STRING` environment variable which will be used
in some upcoming conda recipe changes.

Assuming the changes work as intended, we should remove the conditional
block of code and remove `VERSION_SUFFIX` in favor of `DATE_STRING`
after the `23.02` release.
  • Loading branch information
ajschmidt8 authored Jan 26, 2023
1 parent b02e70a commit f3a9225
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/rapids-env-update
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ if [ "${CI:-false}" = "false" ]; then
export RAPIDS_BUILD_TYPE=${RAPIDS_BUILD_TYPE:-"pull-request"}
fi

# If nightly or branch build, append current YYMMDD to version
# TODO: Remove this conditional block after 23.02 release
if ! rapids-is-release-build; then
VERSION_SUFFIX=$(date +%y%m%d)
export VERSION_SUFFIX
export VERSION_SUFFIX DATE_STRING=$VERSION_SUFFIX
fi

0 comments on commit f3a9225

Please sign in to comment.