Update chapter-06-gbapp-reference.md

This commit is contained in:
Rodrigo Rodriguez 2023-01-02 09:33:44 -03:00 committed by GitHub
parent 156c42475e
commit fd9968e3a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -224,51 +224,51 @@ This in some way contributes to a better understanding of how it works.
## Commit code
See https://semver.org/.
See https://semver.org/.
Numbering:
### Numbering
1.0.0
MAJOR.MINOR.PATCH
(BREAK.FEATURE.BUG)
1.0.0
MAJOR.MINOR.PATCH
(BREAK.FEATURE.BUG)
Messsages:
### Messsages
- A fix in the code:
- A fix in the code:
```
fix(azuredeployer.gbapp): stop graphite breaking when too much pressure applied Patch Fix Release
```
```
fix(azuredeployer.gbapp): stop graphite breaking when too much pressure applied Patch Fix Release
```
- A new feature
- A new feature
```
feat(core.gbapp): add 'graphiteWidth' option
```
```
feat(core.gbapp): add 'graphiteWidth' option
```
- A commit without incrementing version number:
- A commit without incrementing version number:
```
BREAKING CHANGE: The graphiteWidth option has been removed.
```
```
BREAKING CHANGE: The graphiteWidth option has been removed.
```
or
or
```
perf(core.gbapp): Improved loop.
```
```
perf(core.gbapp): Improved loop.
```
Rules:
### Rules
BREAK: If the body contains the text “BREAKING CHANGE” then MAJOR version is incremented.
FEATURE: If the type contains feat/feature, then MINOR version is incremented.
BUG If the type contains fix, then PATCH version is incremented.
BREAK: If the body contains the text “BREAKING CHANGE” then MAJOR version is incremented.
FEATURE: If the type contains feat/feature, then MINOR version is incremented.
BUG If the type contains fix, then PATCH version is incremented.
And finally, if the type contains refactor/style/perf/doc/test/chore, then nothing is increment and no release is made.
And finally, if the type contains refactor/style/perf/doc/test/chore, then nothing is increment and no release is made.
Source: https://medium.com/agoda-engineering/automating-versioning-and-releases-using-semantic-release-6ed355ede742
Source: https://medium.com/agoda-engineering/automating-versioning-and-releases-using-semantic-release-6ed355ede742
## Tooling