mauroalderete / gcode-core

Golang library to model and edit G-code commands, blocks from files
MIT License
7 stars 1 forks source link

62 improve and define incremental method of versioning and changelog #63

Closed mauroalderete closed 2 years ago

mauroalderete commented 2 years ago

Description

Implement a new versioning scheme and label handle.

For each PR labels-test is triggered. It parses the commits involucrated and searches the conventional-commits prefix associated. With data assign the correspondent labels defined in the workflow configuration. A second step guarantee that the PR contains the minimal labels assigned to the versioning workflow can work.

The versioning workflow parses the commits to search for the correct bump version and bump it creating the new full, minor and major tags.

I adjust the pr template and release to work coordinately with the new workflow.

This strategy depended on:

After many probes I detect a potential issue in ietf-tools/semver-action@v1... when a commit contains a prefix with spaces this is not detected even if it is defined like indicates in the doc. For example, a commit as "BREAKING CHANGE: fufufu" is not parsed successfully. I recommend push commits using only the BREAKING prefix for the moment

Fixes

Fixes #62

Type of change

Configuration

codeclimate[bot] commented 2 years ago

Code Climate has analyzed commit 049f64e1 and detected 0 issues on this pull request.

View more on Code Climate.