bin/gen_release_notes.py: Fix version detection for .0 release
authorDylan Baker <dylan@pnwbakers.com>
Thu, 5 Mar 2020 22:04:04 +0000 (14:04 -0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 20 Apr 2020 19:21:15 +0000 (19:21 +0000)
commit0123b8f63415d3d320929e6112da2be2d837b262
treeac226fe4303c0d9ac71d75a3ffcd0a65f3c109a3
parent4abf0837cdb14b10a58d28766d5c1d3698d8a6d8
bin/gen_release_notes.py: Fix version detection for .0 release

The previous version is being calculated incorrectly, resulting in
20.0.0 deciding it's version is 19.3.x+1. This fixes that.

Fixes: 3226b12a09bbcbd25526fd6da6257057d26ddb31
       ("release: Add an update_release_calendar.py script")

Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4070>
bin/gen_release_notes.py
bin/post_version.py