From af911b7f59eae36d4f3262e9a4ad037dee1701be Mon Sep 17 00:00:00 2001 From: Gianmaria Del Monte Date: Thu, 17 Nov 2022 15:27:14 +0100 Subject: [PATCH] Do not check if the repository is dirty when creating a tag --- tools/prepare-release/main.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tools/prepare-release/main.go b/tools/prepare-release/main.go index 906d8450c0..cfca907f36 100644 --- a/tools/prepare-release/main.go +++ b/tools/prepare-release/main.go @@ -194,12 +194,6 @@ func createCommit(msg string) { } func createTag(version string) { - // check if repo is dirty - if isRepoDirty() { - fmt.Fprintf(os.Stderr, "repo is dirty when creating a new tag for version %s", version) - os.Exit(1) - } - cmd := exec.Command("git", "tag", "-a", "v"+version, "-m", "v"+version) run(cmd) }