summaryrefslogtreecommitdiffstats
path: root/models/release.go
diff options
context:
space:
mode:
author赵智超 <1012112796@qq.com>2020-08-23 23:03:18 +0800
committerGitHub <noreply@github.com>2020-08-23 16:03:18 +0100
commite7d65cbc6e50d70753f7228c46cbff0cffde7eba (patch)
treeb66f497a44ef729a4fc33c3ab2663a958d3e7b0f /models/release.go
parente429c1164ec68b154b7f06db2c2e04dd25bad094 (diff)
downloadgitea-e7d65cbc6e50d70753f7228c46cbff0cffde7eba.tar.gz
gitea-e7d65cbc6e50d70753f7228c46cbff0cffde7eba.zip
Add email notify for new release (#12463)
* Add email notify for new release Signed-off-by: a1012112796 <1012112796@qq.com>
Diffstat (limited to 'models/release.go')
-rw-r--r--models/release.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/release.go b/models/release.go
index 0c76d17f4b..f55341b86b 100644
--- a/models/release.go
+++ b/models/release.go
@@ -35,6 +35,7 @@ type Release struct {
NumCommits int64
NumCommitsBehind int64 `xorm:"-"`
Note string `xorm:"TEXT"`
+ RenderedNote string `xorm:"-"`
IsDraft bool `xorm:"NOT NULL DEFAULT false"`
IsPrerelease bool `xorm:"NOT NULL DEFAULT false"`
IsTag bool `xorm:"NOT NULL DEFAULT false"`