Mesa (master): bin/gen_release_notes.py: fix conditional of bugfix

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Oct 25 22:47:13 UTC 2019


Module: Mesa
Branch: master
Commit: 69f540c0172c0b2b43ba466adee7cfb8842250e2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=69f540c0172c0b2b43ba466adee7cfb8842250e2

Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Wed Oct  9 10:27:13 2019 -0700

bin/gen_release_notes.py: fix conditional of bugfix

Previously this would result in the .0 warning be generated for .z > 0
and the .z == 0 would get the other message.

Fixes: 86079447da1e00d49db0cbff9a102eb4e71e8702
       ("scripts: Add a gen_release_notes.py script")
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Juan A. Suarez <jasuarez at igalia.com>

---

 bin/gen_release_notes.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/gen_release_notes.py b/bin/gen_release_notes.py
index 3509879fa6f..17405530efb 100755
--- a/bin/gen_release_notes.py
+++ b/bin/gen_release_notes.py
@@ -57,7 +57,7 @@ TEMPLATE = Template(textwrap.dedent("""\
     <h1>Mesa ${next_version} Release Notes / ${today}</h1>
 
     <p>
-    %if bugfix:
+    %if not bugfix:
         Mesa ${next_version} is a new development release. People who are concerned
         with stability and reliability should stick with a previous release or
         wait for Mesa ${version[:-1]}1.




More information about the mesa-commit mailing list