Skip to content

Fix tag message option hidden#5028

Merged
mislav merged 4 commits intocli:trunkfrom
spenserblack:bugfix/release/create/no-tag-when-generated-available
Jan 17, 2022
Merged

Fix tag message option hidden#5028
mislav merged 4 commits intocli:trunkfrom
spenserblack:bugfix/release/create/no-tag-when-generated-available

Conversation

@spenserblack
Copy link
Contributor

This fixes the option in gh release create to generate release notes
from the tag message being hidden whenever generated notes are
available. This changes the behavior from hiding "generate from tag" and
"generate from commit log" being hidden to only the "generate from
commit log" option being hidden.

Fixes #5027

@spenserblack spenserblack requested a review from a team as a code owner January 12, 2022 14:26
@spenserblack spenserblack requested review from mislav and removed request for a team January 12, 2022 14:26
@cliAutomation cliAutomation added the external pull request originating outside of the CLI core team label Jan 12, 2022
Copy link
Contributor

@mislav mislav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good! One minor note

This fixes the option in `gh release create` to generate release notes
from the tag message being hidden whenever generated notes are
available. This changes the behavior from hiding "generate from tag" and
"generate from commit log" being hidden to *only* the "generate from
commit log" option being hidden.

Fixes #5027
Copy link
Contributor

@mislav mislav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@mislav mislav self-assigned this Jan 12, 2022
@mislav mislav enabled auto-merge January 17, 2022 13:24
@mislav
Copy link
Contributor

mislav commented Jan 17, 2022

I have added some tests.

@mislav mislav merged commit 227d0e0 into cli:trunk Jan 17, 2022
@spenserblack spenserblack deleted the bugfix/release/create/no-tag-when-generated-available branch January 17, 2022 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external pull request originating outside of the CLI core team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

gh release create: "Write using git tag message as template" option is hidden sometimes even when annotations exist

3 participants