diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2016-12-22 22:57:48 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-22 22:57:48 +0800 |
commit | c21e2c4151b5bc13e54de902f59e7b4c46b47540 (patch) | |
tree | d757109c1d5a52bf7d95bc80601ee69ebeeb19f4 | |
parent | 0e1392501daacc8372034b220593d028e2efcb52 (diff) | |
download | gitea-c21e2c4151b5bc13e54de902f59e7b4c46b47540.tar.gz gitea-c21e2c4151b5bc13e54de902f59e7b4c46b47540.zip |
fix tag webhook 404 error (#420)
-rw-r--r-- | models/action.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/action.go b/models/action.go index e14dc062fe..f84d42d0cb 100644 --- a/models/action.go +++ b/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) } |