From c27f1018404e80eee30e8342db1befb56019bf7b Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Fri, 1 Dec 2023 13:26:12 +1100 Subject: [PATCH] Introduce usage of TBD instead of NEXT-RELEASE There is an ecosystem-wide solution to our custom usage of `NEXT-RELEASE` in deprecation attributes - use `#[decprecated(since = "TBD", note = "use bar instead")]` Lets use it. --- contrib/release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/release.sh b/contrib/release.sh index aed6bf1f..348455ce 100755 --- a/contrib/release.sh +++ b/contrib/release.sh @@ -12,9 +12,9 @@ main () { # Check if there is any mention of NEXT_RELEASE which means the # next version number should be filled in. - if grep -qr NEXT.RELEASE ./$crate; then + if grep -qr "since = \"TBD" ./$crate; then echo Version number needs to be filled in following places: - grep -r NEXT.RELEASE ./$crate + grep -r "since = \"TBD" ./$crate exit 1 fi