summaryrefslogtreecommitdiffstats
path: root/templates/release/new.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/release/new.tmpl')
-rw-r--r--templates/release/new.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/release/new.tmpl b/templates/release/new.tmpl
index 439496ea62..6dfe4a5c2d 100644
--- a/templates/release/new.tmpl
+++ b/templates/release/new.tmpl
@@ -28,6 +28,7 @@
{{end}}
</ul>
</div>
+ <input id="tag-target" type="hidden" name="tag_target" value="{{.Repository.DefaultBranch}}"/>
</div>
<p class="help-block">Choose an existing tag, or create a new tag on publish</p>
</div>