This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Tag-webhooks are useless without shasums
tags/v1.21.12.1
Kim "BKC" Carlbäcker
8 years ago
parent
abf6c3a8e3
commit
f364522468
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
models/action.go
+ 2
- 0
models/action.go
View File
@@ -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,
Write
Preview
Loading…
Cancel
Save