Skip to content

Commit

Permalink
tools/release: fix not working tag removal
Browse files Browse the repository at this point in the history
  • Loading branch information
rr- committed Apr 11, 2024
1 parent 365c1c2 commit 87b8e76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/release
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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])
Expand Down

0 comments on commit 87b8e76

Please sign in to comment.