From ad40a29559213e6dbc75ef30ded9c69b9869edad Mon Sep 17 00:00:00 2001 From: Allison Vacanti Date: Tue, 11 May 2021 16:29:11 -0400 Subject: [PATCH] Document that the patch number is no longer used. --- CONTRIBUTING.md | 4 ++-- thrust/version.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 488976614..768356c36 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -467,8 +467,8 @@ The version number for a Thrust release uses the following format: `MMM.mmm.ss-p breaking API, ABI, or semantic changes are made. * `THRUST_VERSION_SUBMINOR`/`ss`: Subminor version, up to 2 decimal digits. It is incremented when notable new features or bug fixes or features that are API-backwards-compatible are made. - * `THRUST_PATCH_NUMBER`/`ppp`: Patch number, up to 3 decimal digits. It is incremented if any - change in the repo whatsoever is made and no other version component has been incremented. + * `THRUST_PATCH_NUMBER`/`ppp`: Patch number, up to 3 decimal digits. This is no longer used and + will be zero for all future releases. The `` header defines `THRUST_*` macros for all of the version components mentioned above. Additionally, a `THRUST_VERSION` macro is defined, which is an integer literal containing all diff --git a/thrust/version.h b/thrust/version.h index cb7016511..96a74b5c8 100644 --- a/thrust/version.h +++ b/thrust/version.h @@ -70,6 +70,7 @@ /*! \def THRUST_PATCH_NUMBER * \brief The preprocessor macro \p THRUST_PATCH_NUMBER encodes the * patch number of the Thrust library. + * Legacy; will be 0 for all future releases. */ #define THRUST_PATCH_NUMBER 0