Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tag Description #165

Open
DevLomoSE opened this issue Jul 10, 2024 · 1 comment
Open

Tag Description #165

DevLomoSE opened this issue Jul 10, 2024 · 1 comment
Labels
question Further information is requested

Comments

@DevLomoSE
Copy link

Hello there,

I there a way to use the CHANGELOG file content to set the tag description?

once we run the command
commit-and-tag-version, it get the commits and create/update the changelog.md file, create a new tag commit and provide you the command to push those changes.

what im i looking for is:
same commits that the cli took to update the changelog.md are used to set the tag description
instead of:
chore(release): x.x.x

then the tag release has description from the changelog like:
x.x.x (date)
Features:

  • feat1 ...
  • feat2 ...

Fixes:

  • Fix1 ...
  • Fix2 ...
    ...
@DevLomoSE DevLomoSE added the question Further information is requested label Jul 10, 2024
@TimothyJones
Copy link
Member

Not at this time, no. There is an undocumented option, releaseCommitMessageFormat (which should probably be documented) - but this only supports {{currentTag}} and constant strings.

You could hack something together by parsing the changelog out of --dry-run combined with --releaseCommitMessageFormat. I'd happily accept a PR that extends format-commit-message.js with more options, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants