feat(release): "release create --tag-message" flag

Description

In this change, we are adding the --tag-message flag to accept is as a parameter.

With this new flag;

glab release create 3.0.0 --tag-message "tag message"

The tag message is used if creating a new annotated tag with the release.

Related Issues

Resolves Add TagMessage to release create command (#7688 - closed)

Unblocks Publish release to catalog command (#7679 - closed).

How has this been tested?

./bin/glab -R furkanayhan/test-project release create 2.1.3 -T "this is a tag message"
• Validating tag 2.1.3
• Tag does not exist.
• No ref provided. Creating the tag from the latest state of the default branch.
• using default branch "master" as ref

? Release title (optional)
? Release notes Leave blank.
• Creating or updating release repo=furkanayhan/test-project tag=2.1.3
✓ Release created:	url=https://gitlab.com/furkanayhan/test-project/-/releases/2.1.3
✓ Release succeeded after 1.08s.

Screenshots (if appropriate):

Screenshot_2024-11-11_at_09.30.43

Screenshot_2024-11-11_at_09.30.54

Types of changes

  • New feature (non-breaking change which adds functionality)
Edited by Furkan Ayhan

Merge request reports

Loading