question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

(Discussion) Use 'conventionalcommits' preset instead of 'angular' to support custom changelog sections

See original GitHub issue

Hi Mathieu,

I’m working on a fix for https://github.com/mathieudutour/github-tag-action/issues/54. I’ve mentioned why this is closed but not fixed in this comment.

So, before creating a PR for this, I just wanted to get your feedback beforehand on the approach that I’m taking.

Here’s what I’m doing to fix this:

https://github.com/mathieudutour/github-tag-action/blob/5961cf9c4dfdab0d0ca4bab9f1d2403960331ef8/src/action.ts#L148-L149

  • Right now, custom_release_rules supports <keyword>:<release_type>. I’m thinking of adding another section to this that mentions the changelog section/title the commits in this group should persist in. i.e. <keyword>:<release_type>:<changelog_section> Any support for gitmoji in the changelog section/title will already be supported after https://github.com/mathieudutour/github-tag-action/issues/67 is fixed.

  • This last/new section will be optional whose default value will be what’s used on conventional-changelog-angular. Any rules the user provides will override the rule, if it exists in the default rule else gets added with the default rule.

You can find my latest changes for this here

Let me know what you think

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
mathieudutourcommented, Mar 16, 2021

That makes sense to me 👍

We can discuss the implementation details in the PR

1reaction
jeremybdkcommented, Apr 1, 2021

@koiralakiran1 Sorry I missed that part, where I needed to include the changelog section, again thank you very much for your work!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tooling for Conventional Commits
go-conventional-commits: A tool to parser your git commit messages into a change log message based on conventional commits specification.
Read more >
release-it/conventional-changelog: Docs & more
Conventional Changelog plugin for release-it. This plugin will provide the recommended bump to release-it, and update the changelog file (e.g. CHANGELOG.md ) ...
Read more >
Automatic Change Logs and ng-ad
With conventional commits and commit linting, change logs can be created automatically. Compodoc and Docusaurus generate interactive ...
Read more >
Release Angular 14 libraries with lerna & commitizen
Now, let's get started by setting up lerna to support conventional commits. To monitor changes and view the changelog, we need to create...
Read more >
Keep a Changelog
Changed - Start using "changelog" over "change log" since it's the common usage. - Start versioning based on the current English version at...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found