Skip to content

Commit

Permalink
Add tag_for_version
Browse files Browse the repository at this point in the history
  • Loading branch information
iamsergio committed Dec 15, 2024
1 parent 734a4e3 commit 69ae880
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,8 @@ def download_file_as_string(filename):
exit_because(f"Failed to download changelog: {e}")

return result


def tag_for_version(proj_name, version):
proj = get_project(proj_name)
return f"{proj['tag_prefix']}{version}"

0 comments on commit 69ae880

Please sign in to comment.