Skip to content

Commit

Permalink
rename RAPIDS_PY_VER to RAPIDS_PY_VERSION
Browse files Browse the repository at this point in the history
This variable name was updated in rapidsai/ci-imgs#7, so these tools need to be updated accordingly.
  • Loading branch information
ajschmidt8 committed Sep 8, 2022
1 parent 5f7fc87 commit 11a4075
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ In gha-tools we introduced some variable naming conventions:
List of variables that have had a `RAPIDS_*` prefix added, which should be reflected by consumers switching from gpuci-tools to gha-tools:
* `CONDA_EXE`, `CONDA_TOKEN`, `CONDA_UPLOAD_LABEL` -> `RAPIDS_CONDA_EXE`, `RAPIDS_CONDA_TOKEN`, `RAPIDS_CONDA_UPLOAD_LABEL`
* `MAMBA_BIN` -> `RAPIDS_MAMBA_BIN`
* `PY_VER` -> `RAPIDS_PY_VER`
* `PY_VER` -> `RAPIDS_PY_VERSION`
* `BUILD_TYPE` -> `RAPIDS_BUILD_TYPE`
* `GH_TOKEN` -> `RAPIDS_GH_TOKEN`

Expand Down
6 changes: 3 additions & 3 deletions tools/rapids-package-name
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ fi

# for python package types, add pyver
if (( append_pyver == 1 )); then
if [[ ! -v RAPIDS_PY_VER ]]; then
rapids-echo-stderr "${echo_prefix}Env var RAPIDS_PY_VER must be set"
if [[ ! -v RAPIDS_PY_VERSION ]]; then
rapids-echo-stderr "${echo_prefix}Env var RAPIDS_PY_VERSION must be set"
exit 1
fi

pkg_name+="_${RAPIDS_PY_VER//./}"
pkg_name+="_${RAPIDS_PY_VERSION//./}"
fi

# for cpp and python package types, always append arch
Expand Down

0 comments on commit 11a4075

Please sign in to comment.