From 87b8e764a0375e59308c083e1518800740a4b582 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Thu, 11 Apr 2024 23:38:42 +0200 Subject: [PATCH] tools/release: fix not working tag removal --- tools/release | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/release b/tools/release index f719988f8..818290d59 100755 --- a/tools/release +++ b/tools/release @@ -4,7 +4,7 @@ import re import sys from datetime import datetime from pathlib import Path -from subprocess import check_output +from subprocess import check_output, run from shared.common import REPO_DIR from shared.versioning import get_branch_version @@ -40,7 +40,7 @@ class Git: ) def delete_tag(self, tag_name: str) -> None: - check_output(["git", "tag", "-d", tag_name]) + run(["git", "tag", "-d", tag_name]) def create_tag(self, tag_name: str) -> None: check_output(["git", "tag", tag_name])