Tag message doesn't append to release notes when tag and release are created in same flow
Summary
If you create a release through the UI (Deployments -> Releases -> New Release), set a tag message, and then include the message in the release notes using Include message from the annotated tag., the tag message doesn't append to the release notes section when the release is created.
Steps to reproduce
- Visit Deployments -> Releases -> New Release on any project.
- Create a new tag and include a tag message.
- Hit the checkbox:
Include message from the annotated tag. - Create the release and view the lack of tag message.
Example Project
What is the current bug behavior?
- Tag message disappears even though the
Include message from the annotated tag.is clicked.
What is the expected correct behavior?
- Tag message should be carried over into the Release when it is created.
Relevant logs and/or screenshots
Screen_Recording_2022-12-16_at_12.55.44_PM
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)(we will only investigate if the tests are passing)