Skip to content

Commit

Permalink
Update scripts/utils/update_package.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ana María Martínez Gómez <[email protected]>
  • Loading branch information
sara-rn and Ana06 authored Nov 18, 2024
1 parent 85cec09 commit b8c8ebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/utils/update_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def get_latest_version(org, project, version):
return None
latest_version = response.json()["tag_name"]
if latest_version.startswith('v'):
return latest_version.replace('v','',1)
return latest_version[1:]
else:
return latest_version

Expand Down

0 comments on commit b8c8ebd

Please sign in to comment.