Regression: Include message from the annotated tag - broken
Summary
When creating a new release on -/releases/new
from an annotated tag, the checkbox "Include message from the annotated tag" no longer works as expected. The tag comment is not visible on the release page after creation.
Steps to reproduce
- Create a new annotated tag in a project.
- Create a release from the tag and select the checkbox "Include message from the annotated tag"
Example Project
https://gitlab.com/jonmngc/issue-429809/-/releases
What is the current bug behavior?
The release does not show the comment from the tag.
Release created from tag, with checkbox selected:
What is the expected correct behavior?
The comment from the tag used to be shown on the release page, just below "Collected", as shown here:
Relevant logs and/or screenshots
Checkbox:
Output of checks
This bug happens on GitLab.com
Potential fix
We need to fetch the tag details on page load if a tag is saved as part of the auto-saving of a draft release.
Edited by Andrew Fontaine