2

I work on a new CICD, replacing Jenkins-X 2 by GitHub Actions.

After seeing a lot of actions to create a release + changelog, I found that a lot of them are trigger by a tag on a commit to launch the workflow.

For now, I create a new release on every push on master (merged pr), with a version tag (v1.0.0), via conventional commit.

What is the benefit for me or Lead team to manually create a tag to generate a new release + changelog ?

What is the logic behind that ?

EDIT: I would like to know what is the benefit of "Creating a tag manually to run a release pipeline (including the changelog)" instead of automate the whole process (e.g: if a PR is merged on master, so it automaticaly create the release)

benCat
  • 71
  • 1
  • 6

1 Answers1

1

A changelog is handy as one will see what changes reside in a certain release. A couple of months ago one of my tools was not working anymore. By consulting the Changelog it was possible to find the issue quite fast. Examples:

By creating the Changelog manually, one really has to think what kind of changes were applied to an app. It is also possible to this automatically, but then the commit messages have to be very clear and lean to prevent unclarity.

The changelog itself makes it possible to click on a version and to compare it with a previous one. It facilitates to debug issues in an App when changes were applied.

If one would create a release for every merge then it is possible that there would be a huge number of releases. I have worked in a company where some developers were merging each individual commit to the main branch. Result: 10 releases a day and an artifact repository disk that had to be increased every week. I spoke to the particular devs and they did not see the issue and my CTO did not see the issue as well. At a certain point we decided to remove the automatic release step from the pipeline. Now the PO had to create a release that contained multiple commits. Once a tag was created manually the release pipeline was started and a release was created. Since then we had to increase the disk size only once every quarter.

030
  • 13,383
  • 17
  • 76
  • 178