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

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Oct 28 15:33:57 UTC 2019


Module: Mesa
Branch: staging/19.2
Commit: 58a37997a3fb9ea9e7407b661b0ffe483baadc2f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=58a37997a3fb9ea9e7407b661b0ffe483baadc2f

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>
(cherry picked from commit 69f540c0172c0b2b43ba466adee7cfb8842250e2)

---

 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 bac200d2884..38b384fe362 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