Browse Source

fix tag webhook 404 error (#420)

release/v1.0
Lunny Xiao 6 years ago
committed by GitHub
parent
commit
c21e2c4151
  1. 2
      models/action.go

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