feat(config): add config file

This commit is contained in:
Nightapes
2019-05-15 22:09:52 +02:00
parent abede95350
commit d7664eb8e8
7 changed files with 165 additions and 24 deletions

View File

@@ -15,6 +15,7 @@ type Analyzer struct {
type Rules struct {
Tag string
Release string
Enabled bool
}
type analyzeCommit interface {

View File

@@ -20,13 +20,16 @@ func newAngular() *angular {
{
Tag: "feat",
Release: "minor",
Enabled: true,
},
{
Tag: "fix",
Release: "patch",
Enabled: true,
}, {
Tag: "perf",
Release: "patch",
Enabled: true,
},
},
}

View File

@@ -1,5 +1,5 @@
// Package storage helper for saving/reading version file
package storage
// Package cache helper for cache version
package cache
import (
"io/ioutil"