summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-10-09 10:27:13 -0700
committerDylan Baker <dylan@pnwbakers.com>2019-10-25 15:45:53 -0700
commit69f540c0172c0b2b43ba466adee7cfb8842250e2 (patch)
treecc2e2da6b434f2f5c7b3673a46f259aad1144d04
parent6b672e342a367c11c23690c5b309617a0b6e9c40 (diff)
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@engestrom.ch> Reviewed-by: Juan A. Suarez <jasuarez@igalia.com>
-rwxr-xr-xbin/gen_release_notes.py2
1 files changed, 1 insertions, 1 deletions
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.