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.
This commit is contained in:
Tobin C. Harding 2023-12-01 13:26:12 +11:00
parent 64bd34cffb
commit c27f101840
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 2 additions and 2 deletions

View File

@ -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