Skip to content

Cannot create release from tag page #36243

@POPSuL

Description

@POPSuL

Description

  1. Create a tag (e.g. v1)
  2. Open tag page (Releases -> N tags -> v1)
  3. Click New release
  4. Fill out fields and click Save Draft or Publish release

Expected result: release should be published or saved as draft
Actual result: error: Target branch does not exist.

But if you're open just new release (from releases page, not tags) and fill v1 as tag name manually all works fine.

Gitea Version

1.25.3

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

Image

Git Version

2.27.0

Operating System

No response

How are you running Gitea?

Selfhosted. Binary from official builds.

Database

MySQL/MariaDB

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions