Skip to content

Commit

Permalink
[redhat-satellite] Handle typo for 6.15.5 release date
Browse files Browse the repository at this point in the history
  • Loading branch information
marcwrobel committed Feb 8, 2025
1 parent 6d91f52 commit 9858ed3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/redhat-satellite.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,7 @@
version_match = VERSION_PATTERN.match(version_str)
if version_match:
version = version_match["version"].replace('-', '.') # a.b.c-d => a.b.c.d
date = dates.parse_date(td_list[1].get_text().strip())
date_str = td_list[1].get_text().strip()
date_str = '2024-12-04' if date_str == '2024-12-041' else date_str # there is a typo for 6.15.5
date = dates.parse_date(date_str)
product_data.declare_version(version, date)

0 comments on commit 9858ed3

Please sign in to comment.