bin/gen_release_notes.py: fix conditional of bugfix
authorDylan Baker <dylan@pnwbakers.com>
Wed, 9 Oct 2019 17:27:13 +0000 (10:27 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Fri, 25 Oct 2019 22:45:53 +0000 (15:45 -0700)
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@engestrom.ch>
Reviewed-by: Juan A. Suarez <jasuarez@igalia.com>
bin/gen_release_notes.py

index 3509879fa6fa02822600dc56472cf16956f56ab2..17405530efbe2c4e4010e4520ddf9f49f6e47adc 100755 (executable)
@@ -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.