Skip to content

The first line of tag message will be appended to the release title when using --notes-from-tag #9563

Open

Description

@Goooler

Describe the bug

When we use gh release create ${{ github.ref_name }} ..., the release title will be aligned with the tag name.
If we use this command with the --notes-from-tag option, the first line of the tag message will be appended to the title.
But after we declare --title ${{ github.ref_name }}, everything works well.

Steps to reproduce the behavior

A new tag v1.1.7 with the message

### Added

- Arabic translation (#444).
- v1.1 French translation.
- v1.1 Dutch translation (#371).

...

then release it on CI with gh release create ${{ github.ref_name }} --notes-from-tag, you'll see

image

Expected vs actual behavior

gh release create ${{ github.ref_name }} --notes-from-tag

should be aligned with

gh release create ${{ github.ref_name }} --title ${{ github.ref_name }} --notes-from-tag

in this case, but not for now.

You can see more details at Goooler/keep-a-changelog#1 (comment).

Activity

  1. added
    bug
    on Sep 4, 2024
  2. added
    needs-triage
    on Sep 4, 2024
  3. added
    gh-release
    on Aug 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggh-releaseneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions