Skip to content

Commit

Permalink
fix tag webhook 404 error (#420)
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Dec 22, 2016
1 parent 0e13925 commit c21e2c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit c21e2c4

Please sign in to comment.