fix tag webhook 404 error (#420)

tokarchuk/v1.17
Lunny Xiao 8 years ago committed by GitHub
parent 0e1392501d
commit c21e2c4151
  1. 2
      models/action.go

@ -580,7 +580,7 @@ func CommitRepoAction(opts CommitRepoActionOptions) error {
if err != nil {
log.Error(4, "OpenRepository[%s]: %v", repo.RepoPath(), err)
}
shaSum, err = gitRepo.GetTagCommitID(opts.RefFullName)
shaSum, err = gitRepo.GetTagCommitID(refName)
if err != nil {
log.Error(4, "GetTagCommitID[%s]: %v", opts.RefFullName, err)
}

Loading…
Cancel
Save