Skip to content

Commit 6afb101

Browse files
Use new --rapids-version-file argument of verify-alpha-spec (#1146)
Authors: - Kyle Edwards (https://github.com/KyleFromNVIDIA) Approvers: - James Lamb (https://github.com/jameslamb) URL: #1146
1 parent 395a5dc commit 6afb101

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ repos:
2424
hooks:
2525
- id: shellcheck
2626
- repo: https://github.com/rapidsai/pre-commit-hooks
27-
rev: v0.6.0
27+
rev: v0.7.0
2828
hooks:
2929
- id: verify-copyright
3030
- id: verify-alpha-spec
3131
args:
3232
- --fix
33-
- --rapids-version=25.08
33+
- --rapids-version-file=RAPIDS_VERSION
3434
- repo: https://github.com/rapidsai/dependency-file-generator
3535
rev: v1.18.1
3636
hooks:

RAPIDS_VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
25.08.00

ci/release/update-version.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,4 @@ for FILE in .github/workflows/*.yaml; do
6161
done
6262

6363
echo "${NEXT_FULL_TAG_PEP440}" > VERSION
64-
65-
sed_runner "s/--rapids-version=[[:digit:]]\{2\}.[[:digit:]]\{2\}/--rapids-version=${NEXT_RAPIDS_SHORT_TAG}/g" .pre-commit-config.yaml
64+
echo "${NEXT_RAPIDS_SHORT_TAG}.00" > RAPIDS_VERSION

0 commit comments

Comments
 (0)