Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into unstable
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Oct 26, 2024
2 parents 688b125 + 151ff99 commit e339195
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit e339195

Please sign in to comment.