-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MRG: Merge pull request #87 from octue/devops/add-missing-git-mkver-conf
Add missing mkver.conf
- Loading branch information
Showing
2 changed files
with
44 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
tagPrefix: "" | ||
defaults { | ||
tag: false | ||
tagMessageFormat: "Release/{Tag}" | ||
preReleaseFormat: "RC{PreReleaseNumber}" | ||
buildMetaDataFormat: "{Branch}.{ShortHash}" | ||
includeBuildMetaData: false | ||
whenNoValidCommitMessages: NoIncrement | ||
patches: [setup.py] | ||
} | ||
|
||
patches: [ | ||
{ | ||
name: setup.py | ||
filePatterns: ["setup.py"] | ||
replacements: [ | ||
{ | ||
find: "version=\"{VersionRegex}\"" | ||
replace: "version=\"{Version}\"" | ||
} | ||
] | ||
} | ||
] | ||
|
||
commitMessageActions: [ | ||
# Disable major version increments while package is still in beta (i.e. keep the version below 1.0.0). | ||
# { | ||
# pattern: "BREAKING CHANGE|BREAKING-CHANGE" | ||
# action: IncrementMajor | ||
# } | ||
|
||
# All new features require a minor version increase. | ||
{ | ||
pattern: "FEA:" | ||
action: IncrementMinor | ||
} | ||
|
||
# Any other changes, including bug fixes, require a patch version increase. | ||
{ | ||
pattern: ".*" | ||
action: IncrementPatch | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters