You've already forked go-semantic-release
feat(config): add config file
This commit is contained in:
@@ -15,6 +15,7 @@ type Analyzer struct {
|
||||
type Rules struct {
|
||||
Tag string
|
||||
Release string
|
||||
Enabled bool
|
||||
}
|
||||
|
||||
type analyzeCommit interface {
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user