Skip to content

Commit

Permalink
Do not check if the repository is dirty when creating a tag
Browse files Browse the repository at this point in the history
  • Loading branch information
gmgigi96 committed Nov 17, 2022
1 parent 1f9d7f1 commit af911b7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tools/prepare-release/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit af911b7

Please sign in to comment.