Tag-webhooks are useless without shasums

release/v1.0
Kim "BKC" Carlbäcker 7 years ago
parent abf6c3a8e3
commit f364522468

@ -565,8 +565,10 @@ func CommitRepoAction(opts CommitRepoActionOptions) error {
}
case ActionPushTag: // Create
shaSum := git.OpenRepository(repo.RepoPath()).GetTagCommitID(refName)
return PrepareWebhooks(repo, HookEventCreate, &api.CreatePayload{
Ref: refName,
Sha: shaSum,
RefType: "tag",
Repo: apiRepo,
Sender: apiPusher,

Loading…
Cancel
Save