Create annotated tags with Releases UI
Release notes
We have added the ability to create an annotated tag when creating a release in the UI. Now, when creating a release, you can include optional text that will be used to create an annotated tag. This enables you to include relevant information along with the new tag, so downstream users and applications can have additional context.
Problem
Users currently can't create an annotated tag from the Release Creation UI. This is the only feature that exists in the legacy Tag creation form.
Proposal
After we've finished #268267 (closed), we should extend the Release Creation UI to allow users to set tag message.
Design
- Add
Set tag message
input into the flow. - Truncate both
Create from
andSet tag message
so they only appear if a user is creating a new tag. - Lightweight tag link: https://git-scm.com/book/en/v2/Git-Basics-Tagging/
Page | User creates a new tag |
---|---|
Figma File
Implementation
Creating annotated tags with a Release is already supported on the backend. The GraphQL API creates an annotated tag as part of the ReleaseCreate
mutation when tagMessage
is provided.
In this issue, we can update the frontend with new form fields and pass tagMessage
where necessary.