Skip to content

Commit

Permalink
feat: dont include pre/post/dev releases
Browse files Browse the repository at this point in the history
  • Loading branch information
MattTheCuber committed Jan 4, 2025
1 parent 1233458 commit 347a316
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tools/gen_projects_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,14 @@ def get_tags(self):

if tag.is_version_compatible():
tag.parse_version()
self.tags.append(tag)
if tag.version and (
tag.version.is_devrelease
or tag.version.is_postrelease
or tag.version.is_prerelease
):
self.duplicate_tags.append(tag)
else:
self.tags.append(tag)
else:
self.failed_tags.append(tag)

Expand Down

0 comments on commit 347a316

Please sign in to comment.