summaryrefslogtreecommitdiffstats
path: root/modules/forms
diff options
context:
space:
mode:
Diffstat (limited to 'modules/forms')
-rw-r--r--modules/forms/repo_branch_form.go1
-rw-r--r--modules/forms/repo_form.go2
2 files changed, 3 insertions, 0 deletions
diff --git a/modules/forms/repo_branch_form.go b/modules/forms/repo_branch_form.go
index 5c631f20d4..88a069b831 100644
--- a/modules/forms/repo_branch_form.go
+++ b/modules/forms/repo_branch_form.go
@@ -16,6 +16,7 @@ import (
// NewBranchForm form for creating a new branch
type NewBranchForm struct {
NewBranchName string `binding:"Required;MaxSize(100);GitRefName"`
+ CreateTag bool
}
// Validate validates the fields
diff --git a/modules/forms/repo_form.go b/modules/forms/repo_form.go
index 48af3450f3..2793acdd5b 100644
--- a/modules/forms/repo_form.go
+++ b/modules/forms/repo_form.go
@@ -642,7 +642,9 @@ type NewReleaseForm struct {
Title string `binding:"Required;MaxSize(255)"`
Content string
Draft string
+ TagOnly string
Prerelease bool
+ AddTagMsg bool
Files []string
}