mendersoftware / mender-server

Other
2 stars 10 forks source link

ci: add changelog generator and commitlint #72

Open oldgiova opened 2 weeks ago

oldgiova commented 2 weeks ago

Added release-please and git cliff to generate changelogs and Github Releases

Ticket: QA-776

Added optional commit linter: commitlint.

mzedel commented 2 weeks ago

I just assume this will be merged after https://github.com/mendersoftware/mendertesting/pull/340

oldgiova commented 2 weeks ago

I just assume this will be merged after mendersoftware/mendertesting#340

Yes, sorry, I forgot to specify it

oldgiova commented 2 weeks ago

Also added commitlint; please review again

kjaskiewiczz commented 2 weeks ago

General question - do we need to group changelogs by services (if I understand correctly this is what we are doing/trying to do with current git cliff configuration)?

oldgiova commented 2 weeks ago

General question - do we need to group changelogs by services (if I understand correctly this is what we are doing/trying to do with current git cliff configuration)?

We have to define it. The very same changelog file will populate also the documentation website. What we're achieving here, is also what costumers will see on the doc website.

Right now we're creating a single CHANGELOG.md file with group by groups, then group by scope (service). For example:

# v3.8.0

## Bug fixes
### Deployments
- fix a thing
- fix another thing

### Auditlogs
- fix here
- fix there
- fix everywhere

## Features
### Deployments
- feature here
- feathre there

### Deviceconnect
- feature here
- feature there