feature: cambio merge y tag para que el changelog se genere al crear un tag nuevo
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
GitFlowError = ValueError
|
||||
|
||||
BRANCH_TYPES = [
|
||||
"feature",
|
||||
"refactor",
|
||||
"bugfix",
|
||||
"hotfix",
|
||||
"chore",
|
||||
]
|
||||
|
||||
COMMIT_TYPES = [
|
||||
"feature",
|
||||
"bugfix",
|
||||
"hotfix",
|
||||
"refactor",
|
||||
"perf",
|
||||
"docs",
|
||||
"style",
|
||||
"test",
|
||||
"wip"
|
||||
]
|
||||
|
||||
# Commits con estos valores incrementan el componente correspondiente
|
||||
SEMVER_MAJOR = 3
|
||||
SEMVER_MINOR = 2
|
||||
SEMVER_PATCH = 1
|
||||
|
||||
# Commits con estos tipos no alteran la versión
|
||||
SEMVER_SKIP = 0
|
||||
|
||||
COMMIT_TYPE_INCREMENT = {
|
||||
"feature": SEMVER_MINOR,
|
||||
"bugfix": SEMVER_PATCH,
|
||||
"hotfix": SEMVER_PATCH,
|
||||
"refactor": SEMVER_SKIP,
|
||||
"perf": SEMVER_SKIP,
|
||||
"docs": SEMVER_SKIP,
|
||||
"style": SEMVER_SKIP,
|
||||
"test": SEMVER_SKIP,
|
||||
}
|
||||
|
||||
SUPPORTED_REMOTE_APIS = [
|
||||
"bitbucket.org",
|
||||
"github.com",
|
||||
]
|
||||
|
||||
REPOSITORY_TOKEN_FILENAME = ".repository-token"
|
||||
|
||||
Reference in New Issue
Block a user