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:
parent
64bd34cffb
commit
c27f101840
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue