Skip to content

Commit

Permalink
MRG: Merge pull request #87 from octue/devops/add-missing-git-mkver-conf
Browse files Browse the repository at this point in the history
Add missing mkver.conf
  • Loading branch information
cortadocodes committed Jun 14, 2021
2 parents 596dbc4 + fba0c3f commit dec52cb
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
43 changes: 43 additions & 0 deletions mkver.conf
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
}
]
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

setup(
name="twined",
version="0.0.21",
version="0.0.22",
py_modules=[],
install_requires=["jsonschema ~= 3.2.0", "python-dotenv"],
url="https://www.github.com/octue/twined",
Expand Down

0 comments on commit dec52cb

Please sign in to comment.