Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Version] Update main to v3.1.0 #4175

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update ci/update_version.sh to edit the docs VERSION.md file
wmaxey committed Mar 20, 2025

Verified

This commit was signed with the committer’s verified signature.
wmaxey Wesley Maxey
commit d9f9c6b372415fbf275add80881952737c7a239c
4 changes: 4 additions & 0 deletions ci/update_version.sh
Original file line number Diff line number Diff line change
@@ -29,6 +29,7 @@ fi

# Version file paths
REPO_VERSION_FILE="cccl-version.json"
DOCS_VERSION_MD_FILE="docs/VERSION.md"
CCCL_VERSION_FILE="libcudacxx/include/cuda/std/__cccl/version.h"
THRUST_VERSION_FILE="thrust/thrust/version.h"
CUB_VERSION_FILE="cub/cub/version.cuh"
@@ -87,6 +88,8 @@ update_file "$REPO_VERSION_FILE" " \"major\":.*" " \"major\": $major,"
update_file "$REPO_VERSION_FILE" " \"minor\":.*" " \"minor\": $minor,"
update_file "$REPO_VERSION_FILE" " \"patch\":.*" " \"patch\": $patch"

update_file "$DOCS_VERSION_MD_FILE" ".*" "$major.$minor"

update_file "$CCCL_VERSION_FILE" "^#define CCCL_VERSION \([0-9]\+\)" "#define CCCL_VERSION $new_cccl_version"
update_file "$THRUST_VERSION_FILE" "^#define THRUST_VERSION \([0-9]\+\)" "#define THRUST_VERSION $new_thrust_cub_version"
update_file "$CUB_VERSION_FILE" "^#define CUB_VERSION \([0-9]\+\)" "#define CUB_VERSION $new_thrust_cub_version"
@@ -115,6 +118,7 @@ update_file "$CUDA_CCCL_VERSION_FILE" "^__version__ = \"\([0-9.]\+\)\"" "__versi
update_file "$CUDA_COOPERATIVE_VERSION_FILE" "^__version__ = \"\([0-9.]\+\)\"" "__version__ = \"$pymajor.$pyminor.$major.$minor.$patch\""
update_file "$CUDA_PARALLEL_VERSION_FILE" "^__version__ = \"\([0-9.]\+\)\"" "__version__ = \"$pymajor.$pyminor.$major.$minor.$patch\""


if [ "$DRY_RUN" = true ]; then
echo "Dry run completed. No changes made."
else