Skip to content

Creating a release via the API should allow for creating an annotated tag #31835

Open
@jared-opus

Description

@jared-opus

Feature Description

Currently, only releases created using the web interface can create annotated tags.
It would be nice to have that option available to releases created via the API, as well. Currently, only lightweight tags will be created.

From the API code:

if err := release_service.CreateRelease(ctx.Repo.GitRepo, rel, nil, ""); err != nil {

Where the "" passed argument is the "msg" parameter that would be used to create an annotated tag message, if it wasn't blank.

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/apiConcerns mainly the APItype/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions