Skip to content

Commit

Permalink
docs: improve readme
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
  • Loading branch information
caarlos0 committed Apr 29, 2020
1 parent 30580f2 commit add1a80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ v1.3.0
| `fix: fixed something` | Patch |
| `feat: added new button to do X` | Minor |
| `fix: fixed thing xyz`<br><br>`BREAKING CHANGE: this will break users because of blah` | Major |
| `fix!: fixed something` | Major |
| `feat!: added blah` | Major |
| `chore: foo` | Nothing |

### `svu current`

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func main() {
}

var breaking = regexp.MustCompile("(?im).*breaking change:.*")
var breakingBang = regexp.MustCompile("(?im).*(feat|fix|build|chore|ci|docs|style|refactor|perf|test)(\\(.*\\))?!:.*")
var breakingBang = regexp.MustCompile("(?im).*(feat|fix)(\\(.*\\))?!:.*")
var feature = regexp.MustCompile("(?im).*feat(\\(.*\\))?:.*")
var patch = regexp.MustCompile("(?im).*fix(\\(.*\\))?:.*")

Expand Down

0 comments on commit add1a80

Please sign in to comment.