Skip to content

Commit

Permalink
MRG: Merge pull request #185 from octue/devops/disable-major-version-…
Browse files Browse the repository at this point in the history
…increments-while-in-beta

OPS: Disable major version increments while package is in beta
  • Loading branch information
cortadocodes committed Jun 14, 2021
2 parents 0de5df2 + 4f84b27 commit 93c8bd2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
15 changes: 10 additions & 5 deletions mkver.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,21 @@ patches: [
]

commitMessageActions: [
{
pattern: "BREAKING CHANGE"
action: IncrementMajor
}
# 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: "FIX:"
pattern: ".*"
action: IncrementPatch
}
]
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

setup(
name="octue",
version="0.1.20", # Ensure all requirements files containing octue are updated, too (e.g. docs build).
version="0.1.21", # Ensure all requirements files containing octue are updated, too (e.g. docs build).
py_modules=["cli"],
install_requires=[
"click>=7.1.2",
Expand Down

0 comments on commit 93c8bd2

Please sign in to comment.