From b8c8ebde1d21c92411cf4f45bddecaaf686a1afa Mon Sep 17 00:00:00 2001 From: sara-rn <103417144+sara-rn@users.noreply.github.com> Date: Mon, 18 Nov 2024 13:37:52 +0100 Subject: [PATCH] Update scripts/utils/update_package.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ana María Martínez Gómez --- scripts/utils/update_package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/utils/update_package.py b/scripts/utils/update_package.py index e9461762..cdaf1bda 100755 --- a/scripts/utils/update_package.py +++ b/scripts/utils/update_package.py @@ -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