forked from NYANDEV/forgejo
fix tag webhook 404 error (#420)
This commit is contained in:
parent
0e1392501d
commit
c21e2c4151
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue