We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be79b34 commit 43c5100Copy full SHA for 43c5100
routers/web/repo/release.go
@@ -414,6 +414,7 @@ func NewReleasePost(ctx *context.Context) {
414
// * input something, click other buttons but not "tag only"
415
// * error occurs, the "new release" page is rendered again, but the "tag only" button is gone
416
// Such cases are not able to be handled by current code, it needs frontend code to toggle the "tag-only" button if the input changes.
417
+ // Or another choice is "always show the tag-only button" if error occurs.
418
ctx.Data["ShowCreateTagOnlyButton"] = form.TagOnly || rel == nil
419
420
// do some form checks
0 commit comments