bin/gen_release_notes.py: drop new_features.txt when we release XX.Y.0
authorEric Engestrom <eric@engestrom.ch>
Wed, 10 Jun 2020 17:50:31 +0000 (19:50 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 10 Jul 2020 20:03:21 +0000 (20:03 +0000)
Otherwise, we (rightfully) get a warning about having new features in
a bugfix release.

Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5416>

bin/gen_release_notes.py

index 3a580a406ca46f9399f68528d62f90204b2e4191..c72e440495bfc55c46f78c8847942e771182dd16 100755 (executable)
@@ -211,6 +211,7 @@ def get_features(is_point_release: bool) -> typing.Generator[str, None, None]:
                 yield line
             else:
                 yield "None"
+        p.unlink()
     else:
         yield "None"