mirror of
https://github.com/ublue-os/bazzite.git
synced 2024-12-27 06:18:44 +00:00
fix: fix version number in changelogs (#1782)
This commit is contained in:
parent
221993bfec
commit
151ff99bfb
4
.github/workflows/changelog.py
vendored
4
.github/workflows/changelog.py
vendored
@ -326,9 +326,9 @@ def generate_changelog(
|
||||
finish = ""
|
||||
|
||||
# Remove .0 from curr
|
||||
curr = re.sub(r"\.\d{1,2}$", "", curr)
|
||||
curr_pretty = re.sub(r"\.\d{1,2}$", "", curr)
|
||||
# Remove target- from curr
|
||||
curr_pretty = re.sub(rf"^[a-z]+-", "", curr)
|
||||
curr_pretty = re.sub(rf"^[a-z]+-", "", curr_pretty)
|
||||
pretty = target.capitalize() + " (F" + curr_pretty
|
||||
if finish and target != "stable":
|
||||
pretty += ", #" + finish[:7]
|
||||
|
Loading…
Reference in New Issue
Block a user