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: 3226b12a09
       ("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>
This commit is contained in:
Dylan Baker
2020-03-05 14:04:04 -08:00
committed by Marge Bot
parent 4abf0837cd
commit 0123b8f634
2 changed files with 15 additions and 37 deletions

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Copyright © 2019 Intel Corporation
# Copyright © 2019-2020 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal