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) }