Skip to content

Using the New Release link on a tag does not set up the release correctly #19623

Closed
@parnic-sks

Description

@parnic-sks

Description

When pressing New Release on a tag, the Release page doesn't set the Target combo box correctly, so the user must manually change the branch in order to successfully create the release.

Screenshots

From the Tags page:
image

When pressing New Release:
image

But if I fill in a Title and try to click Publish, I get:
image

The fix is to open the Target drop-down box and change the target to the actual branch:
image

Doing so removes the original "Target : [branchname]" option entirely:
image

Gitea Version

1.16.7

Can you reproduce the bug on the Gitea demo site?

No, but the only reason is because tags currently don't show up at all (see issue #19622)

Operating System

Windows 11

Browser Version

Chrome Version 100.0.4896.127 (Official Build) (64-bit)

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/uiChange the appearance of the Gitea UItype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions