Skip to content

Commit

Permalink
force git tag clobbering (#3261)
Browse files Browse the repository at this point in the history
  • Loading branch information
dangra committed Feb 9, 2024
1 parent cbc06ab commit e17fb40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/version/relmeta/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func (r *gitRepo) gitDirty() (bool, error) {

func (r *gitRepo) RefreshTags() error {
originName := "origin"
_, err := r.runGit("fetch", "--tags", originName)
_, err := r.runGit("fetch", "--tags", "--force", originName)
return err
}

Expand Down

0 comments on commit e17fb40

Please sign in to comment.