Skip to content

Commit

Permalink
[github_releases] Use tag name instead of release name (#373)
Browse files Browse the repository at this point in the history
It is usually simpler to parse, align with the gitmethod, and gives better results by default.
  • Loading branch information
marcwrobel authored Aug 16, 2024
1 parent 4e8450b commit d198f70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/github_releases.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
if release.is_prerelease:
continue

version_str = release.name
version_str = release.tag_name
version_match = config.first_match(version_str)
if version_match:
version = config.render(version_match)
Expand Down

0 comments on commit d198f70

Please sign in to comment.