Sign in to follow this  


1 post in this topic

@Eichi This is for you and any developers who are contributing.

Where I work, communicating with our stakeholders (both internal and external) is a key part of fostering strong confidence in our brand.

Part of that process is publishing changelogs, which at first I found really hard to do. Remembering all those changes, was incredibly hard for me when my mental context moves between the many projects we support every week. Looking at your recent release, I can see that you also have this problem.


We are very sorry, but we are not going to write a changelog this time. It would take us a week to write that!


I investigated a way to capture this intelligence during development using an npm package called `conventional-changelog`.

I suggest you use this tool to automate the creation of your changelog, yes it does mean your commit messages need to be more meaningful. you can pick a preset style from the many available.

One tip i'd suggest is this:

  1. you (the project lead) lock down master and develop branches, so only you can commit or merge pull requests into them. 
    All contributors create feature branches, and submit merge requests into develop from there.
  2. npm install conventional changelog as a local dependancy to the project. (keeping package.json at the root)
  3. Create a precommit hook for develop that runs and commits the output from the `conventional-changelog-cli`.
  4. when creating a release from master, publish the (omitting bits you don't think are relevant).


This is just a suggestion, one that I've found to save me hours of time, while also change the way I write commit messages... 

Edited by airtonix
  • Like 1

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.