diff options
author | 赵智超 <1012112796@qq.com> | 2020-07-29 21:20:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-29 21:20:54 +0200 |
commit | 1f12dc8e8862da8546fd9d984abdc7f69dd95f11 (patch) | |
tree | c90da9326eb89dc57cf7e9625fe34542a88b41b4 /models/repo_watch.go | |
parent | Move jquery-minicolors to npm/webpack (#12305) (diff) | |
download | forgejo-1f12dc8e8862da8546fd9d984abdc7f69dd95f11.tar.xz forgejo-1f12dc8e8862da8546fd9d984abdc7f69dd95f11.zip |
Add action feed for new release (#12324)
* Add action feed for new release
Signed-off-by: a1012112796 <1012112796@qq.com>
* fix lint
* Apply suggestions from code review
* Add ReleaseID to the action table
* Remove error message
* Fold the attachments download list
* remove attchment download list
* simplify code
* fix create release from existing tag
* simplify ui
* translation change
* fix test
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'models/repo_watch.go')
-rw-r--r-- | models/repo_watch.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo_watch.go b/models/repo_watch.go index 11cfa88918..6cdf9b2af5 100644 --- a/models/repo_watch.go +++ b/models/repo_watch.go @@ -252,7 +252,7 @@ func notifyWatchers(e Engine, actions ...*Action) error { act.Repo.Units = nil switch act.OpType { - case ActionCommitRepo, ActionPushTag, ActionDeleteTag, ActionDeleteBranch: + case ActionCommitRepo, ActionPushTag, ActionDeleteTag, ActionPublishRelease, ActionDeleteBranch: if !permCode[i] { continue } |