1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-22 08:42:32 -05:00

fix tag webhook 404 error (#420)

This commit is contained in:
Lunny Xiao 2016-12-22 22:57:48 +08:00 committed by GitHub
parent 0e1392501d
commit c21e2c4151

View file

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