summaryrefslogtreecommitdiffstats
path: root/services/release/release.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/release/release.go')
-rw-r--r--services/release/release.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/services/release/release.go b/services/release/release.go
index 0e04a71898..9e0654e860 100644
--- a/services/release/release.go
+++ b/services/release/release.go
@@ -157,10 +157,6 @@ func DeleteReleaseByID(id int64, doer *models.User, delTag bool) error {
}
} else {
rel.IsTag = true
- rel.IsDraft = false
- rel.IsPrerelease = false
- rel.Title = ""
- rel.Note = ""
if err = models.UpdateRelease(models.DefaultDBContext(), rel); err != nil {
return fmt.Errorf("Update: %v", err)