Update chapter-06-gbapp-reference.md
This commit is contained in:
parent
156c42475e
commit
fd9968e3a1
1 changed files with 36 additions and 36 deletions
|
@ -224,51 +224,51 @@ This in some way contributes to a better understanding of how it works.
|
||||||
|
|
||||||
## Commit code
|
## Commit code
|
||||||
|
|
||||||
See https://semver.org/.
|
See https://semver.org/.
|
||||||
|
|
||||||
Numbering:
|
### Numbering
|
||||||
|
|
||||||
1.0.0
|
1.0.0
|
||||||
MAJOR.MINOR.PATCH
|
MAJOR.MINOR.PATCH
|
||||||
(BREAK.FEATURE.BUG)
|
(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.
|
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.
|
FEATURE: If the type contains feat/feature, then MINOR version is incremented.
|
||||||
BUG If the type contains fix, then PATCH 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
|
## Tooling
|
||||||
|
|
Loading…
Add table
Reference in a new issue